用于标记的bootstrap 3行和列扩展

mdx_attr_cols的Python项目详细描述


MDX_attr_cols
==


| ATTR COLS CI徽章图片::https://travis-ci.org/ctpug/mdx_attr_cols.png?branch=master
:alt:travis-ci-build-status
:scale:100%
:target:https://travis-ci.org/ctpug/mdx-attr-cols

a markdown extension to add support for bootstrap 3 rows and columns.

根据“isc-license”授权。

_ ISC许可证:https://github.com/ctpug/mdx_attr_cols/blob/master/license



requirements
===




*`attr_list`(标记库内置)
*`mdx_outline`

_属性列表:http://pythonhosted.org/markdown/extensions/attr\u list.html
…_ mdx廑outline:https://pypi.python.org/pypi/mdx廑outline




installation
==



install with``pip install mdx廑attr廑cols`.



documentation
==


允许使用attr廑list和mdx廑outline提供的节属性创建引导容器行和列。扩展。

降价示例:

…code:: markdown

Header 1 {: cols=6 }
====================

Some paragraphs go here.

Header 2 {: cols=2 }
====================

More paragraphs go here.

Header 3 {: cols=4 }
====================

Final column.

Header 4
========

This is not 在一行或一列中。


…代码::python

md=markdown.markdown(
extensions=[
'mdx_outline',
'attr_list',
'attr_cols',
],
extension_configs={
'attr_cols':{
'columns':12,
'attr':'cols',
'tags':['section',
}
}


配置选项:

*``columns``:一行中的列数。默认值是``12`。
*``标记``:要查找其属性的HTML标记列表。默认值为
``['sections']``.
*``attr``:列宽属性的名称。默认值为“cols”。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用Hibernate EntityManager(与Hibernate Core相比)有什么缺点吗?   使用kotlin测试用java编写的安卓应用程序   java在跳转到JavaEE之前,我应该做更多的JavaSE吗?   Java:iText库PDF合并,PDF始终位于页面底部   使用JDBCSpring在多个查询中回滚java   java JPA匹配多个关系中的元素子集   java Datanucleus RDBMS JPA JarWithDependenceCues   java与Http API相比,ThriftFinagle API有多安全?它们的性能如何?   JavaNetty服务器如何从外部调用方法?   如何在访问ApacheTomcat服务器上托管的java web应用程序时获取计算机和用户信息?   java如何存储和重放JDBC语句?   java if语句字符串比较