Exploring Guidelines for Line Length and Newline in Markdown Documentation. #655
-
We're setting guidelines for the maximum number of words per line in Markdown files within the ko-locale. We would like to write a guide related to it. I'm keen to learn if there will be a guideline for the single-line character limit in Markdown files across the entire content repo (or translated-content repo). (If possible) If such a guideline exists, could you specify the document where it's mentioned? As shown below, in the content repo, documents have recently(..?) been written divided into multiple lines rather than single lines, so I asked if there was a related direction. I think there was a direction before that recommended writing in 80 characters or less, but I couldn't find it when I looked for it. Thank you all. 🙇🙇 I start a GitHub discussion to track the conversation in the PR below. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Brian wrote:
This is what @bsmth responded to. Thank you 🙇🙇 |
Beta Was this translation helpful? Give feedback.
-
I know you've made efforts to track changes to content pages, such as introducing 'sourceCommit'. I see this discussion as an extension of that. Matching the line count to the original content is expected to be convenient from a holistic perspective of document management. Therefore, I think it would be a good idea for translated documentation to follow the original line count. If you have any other thoughts, feel free to let me know! Thank you! |
Beta Was this translation helpful? Give feedback.
-
I also looked to if there was any related direction, but I could only find issues with lint, as shown below, and most of them seemed to be negative😅. mdn/content#6936 |
Beta Was this translation helpful? Give feedback.
-
When we originally migrated to Markdown, a lot of people were strongly against having hard-wrapping enforced by Markdown, which is why we don't set the relevant Prettier option. |
Beta Was this translation helpful? Give feedback.
-
[yari-content-ko team meeting] The team meeting concluded the following:
@wbamberg Thank you for your comment. Is it okay to write a PR that modifies the 10 lines in the content repo document below as a single line without a newline? |
Beta Was this translation helpful? Give feedback.
@hochan222 yes, I think this is fine. As far as I know where we are with this is: