mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
init text/markdown parser (based on text/gemini)
This commit is contained in:
parent
6fb7e70213
commit
fc6cce8072
23 changed files with 1452 additions and 0 deletions
|
|
@ -358,6 +358,7 @@ fn handle(
|
|||
} else {
|
||||
match m.as_str() {
|
||||
"text/gemini" => page.content.to_text_gemini(&uri, data),
|
||||
"text/markdown" => page.content.to_text_markdown(&uri, data),
|
||||
"text/plain" => page.content.to_text_plain(data),
|
||||
_ => panic!() // unexpected
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue