markdown-it-math icon indicating copy to clipboard operation
markdown-it-math copied to clipboard

```math as delimiter

Open Lesik opened this issue 6 years ago • 1 comments

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: '```',
});

Lesik avatar Dec 10 '18 01:12 Lesik

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 :slightly_frowning_face:

runarberg avatar Dec 10 '18 17:12 runarberg