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

```math as delimiter #23

Open
Lesik opened this issue Dec 10, 2018 · 1 comment
Open

```math as delimiter #23

Lesik opened this issue Dec 10, 2018 · 1 comment

Comments

@Lesik
Copy link

Lesik commented Dec 10, 2018

Hey there,

while $ is definitely the more LaTeX way of delimiting math, I find the ```math way much more markdowny. Is there any way to make it work with markdown-it-math? I already tried the following with no luck:

this.md.use(markdownItMath, {
    inlineOpen: '`',
    inlineClose: '`',
    blockOpen: '```math',
    blockClose: '```',
});
@runarberg
Copy link
Owner

runarberg commented Dec 10, 2018

I'm sorry to say but I've not been really active maintaining this project. The problem might be on which order this plugin is loaded relative to the code block rules.

@Lesik You are welcome to try a PR at this your self and I will merge it. But I don’t think I will make a pass at this my self in the foreseeable future 🙁

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

2 participants