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] [Created] (INFRA-8576) Please enable the builtin 'Attribute lists' extension to Python Markdown
Date Mon, 03 Nov 2014 22:00:34 GMT
Steve Rowe created INFRA-8576:
---------------------------------

             Summary: 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