debian-mirror-gitlab/app/assets/javascripts/lib/gfm/constants.js

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

11 lines
461 B
JavaScript
Raw Normal View History

2022-10-11 01:57:18 +05:30
export const TABLE_OF_CONTENTS_DOUBLE_BRACKET_OPEN_TOKEN = '[[';
export const TABLE_OF_CONTENTS_DOUBLE_BRACKET_MIDDLE_TOKEN = 'TOC';
export const TABLE_OF_CONTENTS_DOUBLE_BRACKET_CLOSE_TOKEN = ']]';
export const TABLE_OF_CONTENTS_SINGLE_BRACKET_TOKEN = '[TOC]';
export const MDAST_TEXT_NODE = 'text';
export const MDAST_EMPHASIS_NODE = 'emphasis';
export const MDAST_PARAGRAPH_NODE = 'paragraph';
export const GLFM_TABLE_OF_CONTENTS_NODE = 'tableOfContents';