uniorg-parse
Version:
uniorg plugin to parse org-mode
149 lines • 3.35 kB
JavaScript
export const defaultOptions = {
todoKeywords: ['TODO', 'DONE'],
useSubSuperscripts: true,
// Interestingly enough, zero-width space (\u200b) is not considered
// a space in unicode but is considered a space by Emacs. This is
// why we have to add \u200b explicitly after \s in the
// regex. Otherwise, the suggested use-case of adding ZWSP as a
// markup border does not work.
emphasisRegexpComponents: {
// deviates from org mode default to allow ndash, mdash, and
// quotes (’“”)
pre: '-–—\\s\u200b\\(\'’"“”\\{',
// deviates from org mode default to allow ndash, mdash, and
// quotes (’“”)
post: '-–—\\s\u200b.,:!?;\'’"“”\\)\\}\\[',
border: '\\s\u200b',
body: '.',
newline: 1,
},
linkTypes: [
'eww',
'rmail',
'mhe',
'irc',
'info',
'gnus',
'docview',
'bbdb',
'w3m',
'printindex',
'index',
'bibentry',
'Autocites',
'autocites',
'supercites',
'Textcites',
'textcites',
'Smartcites',
'smartcites',
'footcitetexts',
'footcites',
'Parencites',
'parencites',
'Cites',
'cites',
'fnotecite',
'Pnotecite',
'pnotecite',
'Notecite',
'notecite',
'footfullcite',
'fullcite',
'citeurl',
'citedate*',
'citedate',
'citetitle*',
'citetitle',
'Citeauthor*',
'Autocite*',
'autocite*',
'Autocite',
'autocite',
'supercite',
'parencite*',
'cite*',
'Smartcite',
'smartcite',
'Textcite',
'textcite',
'footcitetext',
'footcite',
'Parencite',
'parencite',
'Cite',
'Citeauthor',
'Citealp',
'Citealt',
'Citep',
'Citet',
'citeyearpar',
'citeyear*',
'citeyear',
'citeauthor*',
'citeauthor',
'citetext',
'citenum',
'citealp*',
'citealp',
'citealt*',
'citealt',
'citep*',
'citep',
'citet*',
'citet',
'nocite',
'cite',
'Cref',
'cref',
'autoref',
'eqref',
'nameref',
'pageref',
'ref',
'label',
'list-of-tables',
'list-of-figures',
'addbibresource',
'bibliographystyle',
'printbibliography',
'nobibliography',
'bibliography',
'Acp',
'acp',
'Ac',
'ac',
'acrfull',
'acrlong',
'acrshort',
'glslink',
'glsdesc',
'glssymbol',
'Glspl',
'Gls',
'glspl',
'gls',
'bibtex',
'roam',
'notmuch-tree',
'notmuch-search',
'notmuch',
'attachment',
'id',
'file+sys',
'file+emacs',
'shell',
'news',
'mailto',
'https',
'http',
'ftp',
'help',
'file',
'elisp',
'do',
],
matchSexpDepth: 3,
trackPosition: false,
};
//# sourceMappingURL=parse-options.js.map