* Fix replacer regex
This regex handles the replacement of the [ ] with [x] and reverse.
Until now it was build to check for an unordered list beginning with "*" or "-".
This change permits "+" as well as digits followed by a dot (ordered lists).
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Add cypress tests for task lists
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Add bracket syntax for numbered lists
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
The original idea of the basic-markdown-renderer and the full-markdown-renderer was to reduce the complexity. The basic markdown renderer should just render markdown code and the full markdown renderer should implement all the special hedgedoc stuff like the embeddings.
While developing other aspects of the software I noticed, that it makes more sense to split the markdown-renderer by the view and not by the features. E.g.: The slide markdown renderer must translate <hr> into <sections> for the slides and the document markdown renderer must provide precise scroll positions. But both need e.g. the ability to show a youtube video.
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>