Mercurial > piecrust2
comparison piecrust/plugins/builtin.py @ 1061:8178671f9a04
formatters: Remove Hoedown formatter, split it off to a pluging.
Its availability was spotty depending on the platform (because `misaka` doesn't
have binaries available for even Windows, for instance). So it was split off to
a plugin that the user can install if needed.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Feb 2018 13:32:09 -0800 |
parents | 7487e2df8a56 |
children | 8af2ea1f5c34 |
comparison
equal
deleted
inserted
replaced
1060:3678cddf99f9 | 1061:8178671f9a04 |
---|---|
105 InukshukTemplateEngine(), | 105 InukshukTemplateEngine(), |
106 JinjaTemplateEngine(), | 106 JinjaTemplateEngine(), |
107 PystacheTemplateEngine()] | 107 PystacheTemplateEngine()] |
108 | 108 |
109 def getFormatters(self): | 109 def getFormatters(self): |
110 from piecrust.formatting.hoedownformatter import HoedownFormatter | |
111 from piecrust.formatting.markdownformatter import MarkdownFormatter | 110 from piecrust.formatting.markdownformatter import MarkdownFormatter |
112 from piecrust.formatting.textileformatter import TextileFormatter | 111 from piecrust.formatting.textileformatter import TextileFormatter |
113 from piecrust.formatting.smartypantsformatter import ( | 112 from piecrust.formatting.smartypantsformatter import ( |
114 SmartyPantsFormatter) | 113 SmartyPantsFormatter) |
115 | 114 |
116 return [ | 115 return [ |
117 HoedownFormatter(), | |
118 MarkdownFormatter(), | 116 MarkdownFormatter(), |
119 SmartyPantsFormatter(), | 117 SmartyPantsFormatter(), |
120 TextileFormatter()] | 118 TextileFormatter()] |
121 | 119 |
122 def getProcessors(self): | 120 def getProcessors(self): |