www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-8576) Please enable the builtin 'Attribute lists' extension to Python Markdown
Date Wed, 05 Nov 2014 02:01:34 GMT

    [ https://issues.apache.org/jira/browse/INFRA-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197354#comment-14197354
] 

Steve Rowe commented on INFRA-8576:
-----------------------------------

This is in the CMS build scripts repository at https://svn.apache.org/repos/infra/websites/cms/build


> Please enable the builtin 'Attribute lists' extension to Python Markdown
> ------------------------------------------------------------------------
>
>                 Key: INFRA-8576
>                 URL: https://issues.apache.org/jira/browse/INFRA-8576
>             Project: Infrastructure
>          Issue Type: Task
>          Components: CMS
>            Reporter: Steve Rowe
>
> The builtin Attribute Lists Python Markdown extension (https://pythonhosted.org/Markdown/extensions/attr_list.html)
enables setting class attributes on header elements, which we'd like to be able to do for
the Solr replacement site being worked on in SOLR-6058.
> Here's a patch (works for me when I build the site locally):
> -----
> Index: markdownd.py
> ===================================================================
> --- markdownd.py	(revision 926469)
> +++ markdownd.py	(working copy)
> @@ -35,7 +35,7 @@
>  os.setsid() 
>  os.umask(0) 
>  
> -EXTENSIONS = ['tables', 'def_list', 'toc',
> +EXTENSIONS = ['tables', 'def_list', 'toc', 'attr_list',
>               'codehilite', 'elementid', 'footnotes', 'abbr']
>  
>  # check markdown prereqs outside trapped exceptions
> -----



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message