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

Better markdown support and basic syntax highlighting; see #68 #88

Merged
merged 1 commit into from Dec 13, 2023

Conversation

phoboslab
Copy link
Contributor

This improves markdown parsing:

  • _emphasis_ in code blocks (such as in some_test_function()) will be left alone
  • URLs are automatically recognized
  • some basic syntax highlighting for a number of languages

The syntax highlighting is somewhat quick-and-dirty, but I didn't want to import a whole other library. In my tests it works quite well.

sh

Copy link
Collaborator

@jart jart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for taking the time to help us solve #68. I like it! Reading through your code makes me feel excited to add additional definitions for my favorite languages.

@jart jart merged commit c236a71 into Mozilla-Ocho:main Dec 13, 2023
jart pushed a commit that referenced this pull request Apr 19, 2024
jart pushed a commit that referenced this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants