debian-mirror-gitlab/app/assets/javascripts/lib/markdown_it.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
472 B
JavaScript
Raw Normal View History

2022-08-27 11:52:29 +05:30
/**
* This module replaces markdown-it with an empty function. markdown-it
* is a dependency of the prosemirror-markdown package. prosemirror-markdown
* uses markdown-it to parse markdown and produce an AST. However, the
* features that use prosemirror-markdown in the GitLab application do not
* require markdown parsing.
*
* Replacing markdown-it with this empty function removes unnecessary javascript
* from the production builds.
*/
export default () => {};