Striptags ts
时间: 2023-09-12 17:11:07 浏览: 163
ts
Striptags ts是一个用于去除HTML标签的TypeScript库。它可以帮助你从字符串中过滤掉所有的HTML标签,只保留纯文本内容。安装Striptags ts需要先安装相关的依赖,包括markdown-it、markdown-it-anchor、markdown-it-container、vue-markdown-loader、transliteration、cheerio和highlight.js等。在main.ts文件中,你需要导入demo-block组件,并在Vue中注册它。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [striptags:Typescript中PHP的strip_tags的实现](https://download.csdn.net/download/weixin_42160252/15017580)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Vue加载.md格式组件核心代码](https://blog.csdn.net/wz_coming/article/details/112674121)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文