hedgedoc/cypress
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
..
fixtures added e2e tests (#298) 2020-07-16 11:22:53 +02:00
integration Add YAML-metadata for notes and change the document title accordingly (#310) 2020-07-18 22:17:36 +02:00
support Add YAML-metadata for notes and change the document title accordingly (#310) 2020-07-18 22:17:36 +02:00
.eslintrc.json added e2e tests (#298) 2020-07-16 11:22:53 +02:00
tsconfig.json added e2e tests (#298) 2020-07-16 11:22:53 +02:00
webpack.config.js added e2e tests (#298) 2020-07-16 11:22:53 +02:00