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

[ADD] option to specify a grammar for MarkdownDecorator #101

Merged

Conversation

marcocapano
Copy link
Contributor

MarkdownDecorator currently always uses SwiftGrammar for highlighting, making using it to highlight markdown documents containing code written in another language a bit problematic. This PR just adds the parameter grammar so we can inject any Grammar.

Splash has been of great help recently, I hope you'll consider this change 😊

Copy link
Owner

@JohnSundell JohnSundell left a comment

Choose a reason for hiding this comment

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

Awesome 🎉

@JohnSundell JohnSundell merged commit 26d4bbe into JohnSundell:master Apr 16, 2020
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.

2 participants