diff 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
line wrap: on
line diff
--- a/piecrust/plugins/builtin.py	Tue Feb 13 11:12:29 2018 -0800
+++ b/piecrust/plugins/builtin.py	Tue Feb 13 13:32:09 2018 -0800
@@ -107,14 +107,12 @@
             PystacheTemplateEngine()]
 
     def getFormatters(self):
-        from piecrust.formatting.hoedownformatter import HoedownFormatter
         from piecrust.formatting.markdownformatter import MarkdownFormatter
         from piecrust.formatting.textileformatter import TextileFormatter
         from piecrust.formatting.smartypantsformatter import (
             SmartyPantsFormatter)
 
         return [
-            HoedownFormatter(),
             MarkdownFormatter(),
             SmartyPantsFormatter(),
             TextileFormatter()]