Skip to content
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: Fix syntax highlight bug in included markdown files #6906

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

huguestennier
Copy link
Collaborator

@huguestennier huguestennier commented Jan 14, 2025

Markdown pages including other markdown files using https://github.com/tea3/hexo-include-markdown
and the <!-- md nested-classification.md --> syntax don’t support syntax highlighting.

Solution is to switch to https://github.com/bennycode/hexo-insert-markdown and use this syntax instead:

{% insertmd includes/nested-classification.md %}

Copy link

netlify bot commented Jan 14, 2025

Deploy Preview for label-studio-docs-new-theme ready!

Name Link
🔨 Latest commit f63af3f
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/67868de6af17c10008e438ef
😎 Deploy Preview https://deploy-preview-6906--label-studio-docs-new-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 14, 2025

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit f63af3f
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/67868de69e68df00082d5ee6
😎 Deploy Preview https://deploy-preview-6906--heartex-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@huguestennier huguestennier merged commit d7f69d9 into develop Jan 14, 2025
35 checks passed
@huguestennier huguestennier deleted the ht/fix-hexo-include branch January 14, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants