hedgedoc/src/external-types
Philip Molares 29709d2ba4
Add YAML-metadata for notes and change the document title accordingly (#310)
* Added yaml-frontmatter extracting and error handling
* add tests
* changed document-title, so the editor can change the title to the title of the yaml metadata. closes #303
* extracted first line parsing in a core rule of markdown-it
document title will now be determined like this:
1. yaml metadata title
2. opengraph title
3. first level one heading
4. 'Untitled'
* added documentTitle e2e test

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-07-18 22:17:36 +02:00
..
markdown-it-abbr added support for markdown-it-abbr (#238) 2020-06-20 19:29:46 +02:00
markdown-it-deflist added support for markdown-it-deflist (#240) 2020-06-20 19:25:31 +02:00
markdown-it-emoji Basic markdown renderer (#197) 2020-06-20 00:44:18 +02:00
markdown-it-footnote added support for markdown-it-footnote 2020-06-20 20:26:27 +02:00
markdown-it-front-matter Add YAML-metadata for notes and change the document title accordingly (#310) 2020-07-18 22:17:36 +02:00
markdown-it-imsize Added image resizing support via markdown-it-imsize (#262) 2020-06-23 21:44:16 +02:00
markdown-it-ins added typescript definitions 2020-06-20 12:52:38 +02:00
markdown-it-linkify Add a wrapper for linkify (#268) 2020-06-24 23:52:45 +02:00
markdown-it-mark added typescript definitions 2020-06-20 12:52:38 +02:00
markdown-it-mathjax added mathjax (#250) 2020-06-23 00:38:06 +02:00
markdown-it-regex Basic markdown renderer (#197) 2020-06-20 00:44:18 +02:00
markdown-it-sub added typescript definitions 2020-06-20 12:52:38 +02:00
markdown-it-sup added typescript definitions 2020-06-20 12:52:38 +02:00
markdown-it-task-lists Basic markdown renderer (#197) 2020-06-20 00:44:18 +02:00
markdown-it-toc-done-right Add toc sidebar+dropdown (#272) 2020-06-29 17:51:40 +02:00