Welcome to mirror list, hosted at ThFree Co, Russian Federation.

markdown_it.js « lib « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b7a553737db60d5d524f2a1e3125542ca6ab88d (plain)
1
2
3
4
5
6
7
8
9
10
11
/**
 * 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 () => {};