You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/markup/markdown
John Olheiser b2bda11595
Fix markdown meta parsing (#12817)
* Fix meta parsing and add minimal test

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add license

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Require first separator and add more tests

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Make fmt

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Go lets this work gracefully 🙏

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
..
ast.go Make TaskCheckBox render correctly (#11214) 4 years ago
goldmark.go Allow different HardBreaks settings for documents and comments (#11515) 4 years ago
markdown.go Add loading spinners and mermaid error handling (#12358) 4 years ago
markdown_test.go Prevent 500 with badly formed task list (#11328) 4 years ago
meta.go Fix markdown meta parsing (#12817) 4 years ago
meta_test.go Fix markdown meta parsing (#12817) 4 years ago
renderconfig.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 4 years ago
toc.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 4 years ago