Skip to content

Conflict with markdown-it-attrs #24

@Larivact

Description

@Larivact

There is a syntax conflict with arve0/markdown-it-attrs:

var md = require('markdown-it')();

md.use(require('markdown-it-katex'));
md.use(require('markdown-it-attrs'));

var result = md.render('$\\sqrt{a}$');
console.log(result) // outputs <p a="">\sqrt</p>

Workaround: Changing the delimiters of markdown-it-attrs

Is there a way to resolve this without changing the delimiters or does markdown-it not support two plugins with conflicting syntaxes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions