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

Bracketed spans in Markdown #406

Merged
merged 3 commits into from
Sep 18, 2020
Merged

Bracketed spans in Markdown #406

merged 3 commits into from
Sep 18, 2020

Conversation

srid
Copy link
Owner

@srid srid commented Sep 18, 2020

Add bracked_spans extension to Markdown parser.

This extension allows setting custom html attributes (such as the Semantic UI classes from #176) on any inline text. For example:

This is a paragraph [with this text]{.ui .red .text} in red.

which renders as:

image

@srid srid merged commit 76b0bd0 into master Sep 18, 2020
@srid srid deleted the bracked_span branch September 18, 2020 17:37
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.

1 participant