-
Notifications
You must be signed in to change notification settings - Fork 532
Markdown Best Practices
The following outlines best-practices, as well as tips and tricks for writing Markdown documentation.
These guidelines are specifically in terms Github-flavored Markdown. They may or may not be appropriate in other Markdown documentation systems.
Just like code, it is useful to consider Markdown documentation in terms of raw legibility (i.e. in its pre-rendered state), as well as longer term maintenance. Since Markdown documentation is tracked just like code from git's perspective, it is also useful to consider how changes over time will appear in diffs and pull requests.
Github-flavored Markdown treats adjacent lines (separated by exactly 1 newline) as belonging to the same paragraph when rendered. Lines separated by 2 or more newlines are rendered as separate paragraphs.
When writing Markdown documentation, we recommend formatting paragraphs by breaking lines along sentence boundaries. In terms of natural language, this is the most meaningful delimiter to break on. Additionally, this allows the rendered contents to be displayed as desired, while isolating git-wise changes to only the sentences that are changed.
Note that we explicitly do not recommend introducing line breaks within the scope of a sentence. Most IDEs should support word-wrapping, if you find yourself reading / writing raw contents that overflow your editor's view.
(See this page in its raw form for an example)
This wiki is focused on contributing to the Fluid Framework codebase.
For information on using Fluid Framework or building applications on it, please refer to fluidframework.com.
- Submitting Bugs and Feature Requests
-
Contributing to the Repo
- Repo Basics
- Common Workflows and Patterns
- Managing dependencies
- Client Code
- Server Code
- PR Guidelines
- CI Pipelines
- Breaking vs Non-Breaking Changes
- Branches, Versions, and Releases
- Compatibility & Versioning
- Testing
- Debugging
- npm package scopes
- Maintaining API support levels
- Developer Tooling Maintenance
- API Deprecation
- Working with the Website (fluidframework.com)
- Coding Guidelines
- Documentation Guidelines
- CLA