pymdown-styles:pymdown 的 Pygments 样式

时间:2021-05-30 15:21:51
【文件属性】:
文件名称:pymdown-styles:pymdown 的 Pygments 样式
文件大小:19KB
文件格式:ZIP
更新时间:2021-05-30 15:21:51
Python PyMdown 额外样式 pymdown-styles是一个向 Pygments 添加其他样式的包。 它是为创建的,但任何想要将包含的样式添加到 Pygments 的人都可以使用它,或者只是简单地获取 CSS。 这个想法是让 Pygments 为 PyMdown 生成 CSS。 此外,如果不需要 CSS,Pygments 可以直接将样式写入 HTML 标签的 style 属性。 如果不需要使用 Python 模块,那么获取 CSS 就足够了。 包含的样式 这些是包含的样式: 风格 描述 github Github在2014年之前使用的Pygments样式 github2014 Pygments 风格在 2014 年使用,直到 Github 放弃使用 Pygments。 阅读文档 阅读最初来自的使用的 Docs Pygments 样式。 明天早上 的 Pygments 风格基于。
【文件预览】:
pymdown-styles-master
----entry_points.py(330B)
----pymdown_styles()
--------github2014.py(4KB)
--------__init__.py(418B)
--------github.py(3KB)
--------tomorrownighteightiesstormy.py(4KB)
--------readthedocs.py(4KB)
--------tomorrowmorning.py(4KB)
----stylesheets()
--------github2014.css(2KB)
--------github.css(2KB)
--------tomorrowmorning.css(4KB)
--------tomorrownighteightiesstormy.css(4KB)
--------readthedocs.css(2KB)
----LICENSE(1KB)
----tools()
--------__init__.py(19B)
--------pyg_css_convert.py(11KB)
----setup.py(1KB)
----README.md(3KB)
----build_modules.py(1KB)
----.gitignore(675B)

网友评论