mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
@@ -3,6 +3,10 @@ module main
|
||||
import strings
|
||||
import v.doc
|
||||
|
||||
fn markdown_escape_script_tags(str string) string {
|
||||
return str.replace_each(['<script>', '`', '</script>', '`'])
|
||||
}
|
||||
|
||||
fn (vd VDoc) gen_markdown(d doc.Doc, with_toc bool) string {
|
||||
mut hw := strings.new_builder(200)
|
||||
mut cw := strings.new_builder(200)
|
||||
|
||||
Reference in New Issue
Block a user