[英]How to render markdown with colon
我嘗試使用這個庫react-native-markdown-display
渲染 markdown 。
然后我在用等號(=)和冒號(:)渲染 markdown 內容時發現了不同的結果
這是equal(=) ,
const exampleMarkdown = `# Hello
**This is some bold text!**
Ordered List:
1. First item
2. Second item
3. Third item
`
這與冒號(:)
const content = {
exampleMarkdown: `# Hello
**This is some bold text!**
Ordered List:
1. First item
2. Second item
3. Third item`
}
使用equal(=)和colon(:)渲染 markdown 內容有什么區別嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.