跳转到主要内容

Markdown扩展,支持标签

项目描述

markdown_del_ins

允许Markdown包将~~text~~解释为<del>text</del>,将++text++解释为<ins>text</ins>

安装

$ pip install git+git://github.com/honzajavorek/markdown-del-ins.git

用法

>>> from markdown import Markdown
>>> md = Markdown(extensions=['markdown_del_ins'])
>>> src = 'This is ++added content++ and this is ~~deleted **strong** content~~'
>>> html = md.convert(src)
>>> print(html)
<p>This is <ins>added content</ins> and this is <del>deleted <strong>strong</strong> content</del></p>

许可证 & 信用

本软件以修改后的BSD许可证发布。有关详情,请参阅LICENSE。该项目是aleray/mdx_del_ins的分支。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

markdown_del_ins-1.0.0.tar.gz (2.0 kB 查看哈希值)

上传时间: 源代码

构建分发

markdown_del_ins-1.0.0-py3-none-any.whl (3.2 kB 查看哈希值)

上传于 Python 3

支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面