-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(v2:) Divide markdown-features/code-blocks
to smaller sections
#5061
Conversation
This PR adds few more heading to split the content to small topics. This way users like me will be able to scroll directly to the specific section, instead of reading all the documentation. I add to read the entire section because It was not divided into sections. Not a great user experience.
✔️ [V2] 🔨 Explore the source changes: d286b91 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/60d5c35ef92a2d0008254641 😎 Browse the preview: https://deploy-preview-5061--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-5061--docusaurus-2.netlify.app/ |
@@ -142,6 +146,8 @@ html[data-theme='dark'] .docusaurus-highlight-code-line { | |||
} | |||
``` | |||
|
|||
## Multiple line highlighting {#multiple-line-highlighting} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the structure should be more like:
## Line highlighting
### Multiple line highlighting
### Highlighting with comments
Also, be ware that the section titles should be in sentence case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thank you for noticing. It was fixed.
markdown-features/code-blocks
to smaller sectionsmarkdown-features/code-blocks
to smaller sections
Thanks 👍 |
This PR adds few more heading to split the content to small topics.
This way users like me will be able to scroll directly to the specific section, instead of reading all the documentation.
I add to read the entire section because It was not divided into sections. Not a great user experience.