HackMD
  • Prime
    Prime  Full-text search on all paid plans
    Search anywhere and reach everything in a Workspace with Prime plan.
    Got it
      • Create new note
      • Create a note from template
    • Prime  Full-text search on all paid plans
      Prime  Full-text search on all paid plans
      Search anywhere and reach everything in a Workspace with Prime plan.
      Got it
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Writing Style Guide The Yearn Community Writing Style Guide summarizes the standards and best practices **writers** should follow when contributing to Yearn Documentation resources. Writing Intent and Tone ----------------------- * * * Yearn Community materials should cater to readers who are unfamiliar with the Yearn ecosystem. Writers should also assume that their readers have tight schedules and short attention spans, as after all, farming is honest but hard work. As such, Writers should focus on communicating concepts as clearly and succinctly as possible. * Use simple language. * Use short, concise sentences. * Avoid unnecessary words. * Remain open and objective. * Provide examples when possible. * Provide examples to help explain concepts, but avoid overcomplicating them. * Use math when necessary, but keep it simple and visually easy to understand. * Link to basic terms if necessary. Writer Guidelines ----------------- * * * ### General Rules * Run all drafts through [Grammarly](https://app.grammarly.com/) regularly, and before final submissions. * Grammarly will catch most spelling and grammatical errors. * Copy rendered text into Grammarly and address any mistakes it flags. * HackMD does not identify spelling and grammatical errors. * Grammarly will miss errors if it’s given raw Markdown text. * Be careful of copy and pasting code from grammarly to VScode, grammarly may mess with formatting. **Please Note** * When migrating to a new document (i.e., from Google Docs to HackMD): * Leave a note in the old file. * Provide a link to the latest version. * Do not blindly accept Grammarly suggestions. * Review edits to make sure they make sense. * * * **Use:** * [Oxford commas.](https://en.wikipedia.org/wiki/Serial_comma) * [Pluralized, gender-neutral pronouns.](https://en.wikipedia.org/wiki/Singular_they) * Use “they/their” instead of “he/she/his/hers.” * **Examples:** “When they…” or “If users choose to X, then their…” * The `%` symbol. Do not spell out "percent." * **Correct:** 15% * **Incorrect:** 15 percent * Double quotes `" "` for phrases, quotes, etc. * Do not use single `' '` quotes. * * * **Avoid:** * [First-person language.](https://en.wikipedia.org/wiki/Grammatical_person) * **Examples:** I, we, our, etc. * [Second-person language](https://en.wikipedia.org/wiki/Grammatical_person) (unless it is appropriate for a guide or action page). * **Examples:** "You then..." or "Now you should..." * Exclamation points. * Footnotes. * References to deprecated names for Yearn Components. * **Examples:** yyCRV or yUSD instead of yvCurve-Y (see: [Yearn Naming Conventions](https://docs.yearn.finance/developers/naming-convention)). * Parentheses for stating additional information. * **Incorrect:** Development Grants are larger sized ($5,000 to $50,000) grants aimed at individuals or teams building projects around vaults and the broader Yearn ecosystem. * **Correct:** Development Grants are generally larger sized grants, ranging from $5,000 to $50,000, aimed at individuals or teams building projects around vaults and the broader Yearn ecosystem. ### Abbreviations * * * * Use parentheses to define abbreviated terms the first time they appear in a given document. * **Example:** A Yearn Improvement Proposal (YIP) is a proposal framework to support new initiatives and to expand the scope of existing ones. ### Acronyms, Decades and Cases * * * Do not use apostrophes to pluralize acronyms or indicate decades. Add an "s" at the end. #### Acronyms * To make an acronym plural: * **Correct:** YIPs * **Incorrect:** YIP's #### Decades * To indicate a decade: * **Correct:** 1990s * **Incorrect:** 1990's #### Capitalize * Names and proper nouns. * Cities, countries, nationalities, and languages. * Terms with definitions provided by Yearn. #### Title Case * **The [Title Case Converter](https://titlecaseconverter.com/) will keep titles consistent.** * Follow the New York Times standard. * Capitalize the first and last words, all nouns, pronouns, verbs, adverbs, and adjectives. * Lowercase all articles, conjunctions, and prepositions. ### Currencies * * * The examples below use dollars, but the same rules apply to all global currencies. * Use lowercase except when writing "US Dollar.” * Use figures and the "$" sign in all except casual references, or amounts without a figure. * **Standard:** "The book costs $4." * **Casual:** "Please give me a dollar." * For amounts under $1 million, follow this format: * **Correct:** $4, $25, $500, $1,000, $650,000. * For amounts over $1 million, use the word, not numerals. * **Correct:** "He is worth $4 million." * **Incorrect:** "He is worth $4,000,000." ### Naming Conventions * * * #### Cryptocurrencies * When directly referring to the creation, destruction, or manipulation of a token (particularly as it relates to tooling) or when referencing the token as a currency, in an instructional or conversational setting, or as a conceptual product of the Foundation or its systems: * Use the proper prefix if necessary and capitalized TLA version: `wETH` * **Example:** “wETH is a token that represents Ether 1:1 and conforms to the ERC20 token standard.” * Similarly, when referring to exchange pairs: * Use: `wETH/DAI` #### Yearn Products Please see [Yearn Naming Conventions](https://docs.yearn.finance/developers/naming-convention) * * * #### Yearn * When referring to Yearn as a smart contract system, use "The Yearn Protocol." * **Example:** “The Yearn Protocol is a set of contracts for yield optimization." * When referring to Yearn as a body of YFI voters and the general stakeholder community, use "Yearn Community" or simply "Yearn." * **Example:** "Yearn passed a vote to decrease the yCRV vault performance fee." * **Example:** "The Yearn Community passed a vote to add an additional vault." * Use "Yearn" for casual references to Yearn and the Yearn Protocol as a whole. ### Numbers * * * * Spell out numbers below 10. * **Examples:** one, two, three, etc. * Use numerals for numbers above 10, unless starting a sentence. * For numbers with million, billion, or trillion, use figures in all except casual cases. * **Standard:** "The nation has 1 million citizens." * **Casual:** "I'd like to make a billion dollars." ### Lists * * * When bulleted and numbered lists contain complete sentences, capitalize the first word, and follow each with a period. If list items are phrases, no capitalization or punctuation is required. * *Don't* use a list with only 1 item. * Use [parallel construction](https://en.wikipedia.org/wiki/Parallelism_%28grammar%29) for each item in a list. * Start with the same [part of speech](https://en.wikipedia.org/wiki/Part_of_speech) for each item (in this case, a verb). * Use the same verb [tense](https://en.wikipedia.org/wiki/Grammatical_tense#English) for each item. * Use the same [voice](https://en.wikipedia.org/wiki/Voice_%28grammar%29) for each item. * Use the same sentence type (statement, question, exclamation) for each item. * List items that include definitions should look like this: * **Team:** Yearn Protocol Developers and Contributors * **Community**: General participants in Yearn forums and chat * Use dashes rather than asterisks for unordered lists. * **Correct:** `-` * **Incorrect:** `*` * Alphabetize lists of names unless there is a clear priority at work. * Do not use ordered (numbered) lists unless order matters. * Ordered list items should use the `#1` repeated. * Markdown will automatically generate numbers. **Example:** 1. Item 1 2. Item 2 3. Item 3 4. Item 3a 5. Item 3b ### Links * * * * Use \[absolute links\](([https://docs.microsoft.com/en-us/contribute/how-to-write-links](https://docs.microsoft.com/en-us/contribute/how-to-write-links))) and standard web URLs when referencing external resources. * Create descriptive hyperlinks and avoid generic language. * **Descriptive:** Learn more at [Yearn Documentation](https://docs.yearn.finance/) * **Generic:** Learn more [here.](/en/contribute/content/) * Include a `.`inside the link for sentences that end with a link. * When creating links for parallel translated documents, make sure to update relative links to reflect the correct heading. ### Tables of Contents * * * * Include a table of contents for documents that span several pages and multiple sections. * Use the raw Markdown from the Table of Contents above as a template. * Be sure to include the line breaks `---` as well to keep formatting consistent. * The table of contents should list relevant sections for easy navigation. Markdown Guide -------------- * * * Yearn documents posted on GitHub are written in Markdown, a text-to-HTML conversion tool for web writers. * Include line breaks above and below headings. * Use top-level headers `#` only once per document. * Do not make multiple top-level headings. * Avoid repeat headings. * They will break auto-generated navigation. * Avoid trailing spaces. * Do not use: * Em or en [dashes:](https://en.wikipedia.org/wiki/Wikipedia:Hyphens_and_dashes) `—` * Ampersands `&` in titles and headers. * Pipes `|` in titles and headers. * Curly quotes. Use the plaintext version. * **Correct:** `"` * **Incorrect:** `“` * Escaping parentheses. Use normal parentheses. * **Correct:** `(SOMETHING)` * **Incorrect:** `\(SOMETHING\)` * Ensure there is a single hard return at the end of a .md file. * Use emojis to call attention to an important point, when necessary. * Practice discretion and use them sparingly. * This [cheat sheet](https://gist.github.com/rxaviers/7360908) lists emojis and their Markdown shortcuts. Best Practices and Resources ---------------------------- * * * Writers and contributors familiar with Yearn and cryptocurrency basics will have a better sense of where to apply their skills best. * Spend some time learning about Yearn's function, history, and any recent events before contributing. * In-depth knowledge is appreciated but not required. ### Learn the Basics of Markdown - [Daring Fireball](https://daringfireball.net/projects/markdown/) - [Markdown Syntax Guide](https://guides.github.com/features/mastering-markdown/) - [Practice Communicating Using Markdown](https://lab.github.com/githubtraining/communicating-using-markdown) ### Helpful Writing Tools Make use of any writing tools that help improve workflow and writing quality. See the list below for some recommendations. #### Text Editors - [Grammarly](https://app.grammarly.com/) - Mistake-free writing editor - [HemingwayApp](https://www.hemingwayapp.com/) - Make writing bold and clear #### Word Choice - [Thesaurus](https://www.thesaurus.com/) - Synonyms - [Powerthesaurus](https://www.powerthesaurus.org/) - Synonyms and phrase suggestions - [WordHippo](https://www.wordhippo.com/) - Synonyms and phrase suggestions ### Review Community Guides Review the respective Contribute.md for each repository where pertinent before starting work on any Yearn project. * Yearn contributor guides outline writing standards and help simplify the writing process. #### Document-Specific Maintenance Guides * Check for an associated maintenance guide before starting work on a given document if applicable. * A document maintenance guide outlines standards to help Reviewers and contributors when maintaining a given resource. * The rules described within a document-specific maintenance guide supersede other guides. * If a discrepancy is glaring or unreasonable, bring the issue to an admin in the [#documentation](https://discord.com/channels/734804446353031319/748476302121762866) channel on Yearn's discord. #### Contributor Tools * The [Contributor Tools Guide](https://hackmd.io/0s6me4DrQjKgImWltttefA?view) guide introduces the tools regularly used by Yearn contributors. ### Express Interest * Check out the [Getting Started guide]() for contributing to Documentation. * Join the [#documentation](https://discord.com/channels/734804446353031319/748476302121762866) channel on Yearn's Discord, read the pinned messages and reach out to a channel admin. * Yearn community team members and senior contributors help onboard new contributors via Discord or Telegram chats where applicable. * Feel free to discuss personal interests and relevant skills to help determine a well-suited project/issue and jump right in. * To understand strengths you can also provide relevant examples of past projects, work, and experience. * Demonstrate a reliable work ethic and offer quality work that speaks for itself. * Stand out by suggesting projects and adding insight to public discussions. ### Collaborate * When accepting an assignment, be sure to collaborate early and often. * Visit [#documentation](https://discord.com/channels/734804446353031319/748476302121762866) or corresponding Telegram chat regularly. * Coordinate with other members. * Ask as many questions as necessary * Ask for feedback when stuck. * Provide frequent progress updates. * Develop a plan that defines an approach for an assignment. * Produce a project outline. Clarify the what so we can agree on the how. * Set achievable deadlines. Timeboxing is good :) * Assign and divide tasks with other contributors. * Multiple contributors should not start work on similar projects individually. Please check that the same issue does not already exist in the Gitub Issues for that Repository, and if it does please coordinate with whoever is working on it to divide the work if needed. #### Track Progress * Track projects and progress with [GitHub Issues.](https://github.com/orgs/iearn-finance/projects/2) * Keep GitHub issues updated with comments and feedback. * Take advantage of version history when working in HackMD or Google Docs. #### Final Drafts and Submissions * Transfer approved final drafts from Google Docs to HackMD or DrawIO(for diagrams) if need be. * Let the team know when a project is ready for final review by moving your issue to the status of `Pending Review` on Github and messaging in the appropriate Discord or Telegram channel. * Once reviewed, submit completed projects for approval as a [Pull Request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request) on GitHub. * Ensure to update any relevant issues and the project board on GitHub ### Acknowledgement This document could not be possible without the amazing work done by the MakerDAO team as this document is mostly based on their [Writing Style Guide](https://github.com/makerdao/community-portal/blob/r2d/content/en/contribute/content/writing-style-guide.mdx).

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully