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

support delimiters with length above 1 #65

Closed
arve0 opened this issue May 22, 2018 · 0 comments
Closed

support delimiters with length above 1 #65

arve0 opened this issue May 22, 2018 · 0 comments

Comments

@arve0
Copy link
Owner

arve0 commented May 22, 2018

Setup:

md.use(attrs, {
  leftDelimiter: '{{{',
  rightDelimiter: '}}}'
})

Markdown:

this is the markdown I'm trying to parse {{{.replace-me}}}

Current output:

<p>this is the markdown I'm trying to parse {{{.replace-me}}}</p>

Expected output:

<p class="replace-me">this is the markdown I'm trying to parse</p>
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

No branches or pull requests

1 participant