用于标记的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第三方库


热门话题
javascript问题:通过URL用网站数据填充Textview   java TabLayout Android,如何用几个标签填充整个屏幕宽度,并用大量标签滚动?   Eclipse Java运行的文件不再存在于我的工作区中   安装两个Java版本时,使用Java的windows链接不起作用   java将多个图形添加到单个JPanel   java Kafka ConsumerFactory,带有两个Desiarizer   使用反射更改java类超类   当一致性测试失败时,java有没有办法让堆栈跟踪显示在控制台中   java映射到基元类型的HashMap的快速替代方案是什么?   java关闭一个jframe所有剩余的打开jframe都将关闭。   java为什么不推荐“使用getString()获取设备标识符”?   java值比较和值赋值之间有什么性能差异吗?   Java实体数组到JavaScript数组   java使用流将一个列表转换为另一个列表   在JTree中保存对象,但更改显示的名称(java swing)?   java“Hello world”Android应用程序,文件尽可能少,没有IDE,只有文本编辑器   java在方法之间传递值   java如何为项目数组创建ParseQuery?