Mercurial > piecrust2
comparison piecrust/plugins/builtin.py @ 694:b917ae071994
formatting: Add a `hoedown` formatter.
The `hoedown` library is not yet in the dependency list however since I have
to figure out its availability on most platforms.
| author | Ludovic Chabant <ludovic@chabant.com> |
|---|---|
| date | Wed, 23 Mar 2016 08:35:51 -0700 |
| parents | 5d8e0c8cdb5f |
| children | ab5c6a8ae90a |
comparison
equal
deleted
inserted
replaced
| 693:d2a87365b85b | 694:b917ae071994 |
|---|---|
| 15 from piecrust.commands.builtin.serving import (ServeCommand) | 15 from piecrust.commands.builtin.serving import (ServeCommand) |
| 16 from piecrust.commands.builtin.themes import (ThemesCommand) | 16 from piecrust.commands.builtin.themes import (ThemesCommand) |
| 17 from piecrust.commands.builtin.util import ( | 17 from piecrust.commands.builtin.util import ( |
| 18 InitCommand, PurgeCommand, ImportCommand) | 18 InitCommand, PurgeCommand, ImportCommand) |
| 19 from piecrust.data.provider import (IteratorDataProvider, BlogDataProvider) | 19 from piecrust.data.provider import (IteratorDataProvider, BlogDataProvider) |
| 20 from piecrust.formatting.hoedownformatter import HoedownFormatter | |
| 20 from piecrust.formatting.markdownformatter import MarkdownFormatter | 21 from piecrust.formatting.markdownformatter import MarkdownFormatter |
| 21 from piecrust.formatting.textileformatter import TextileFormatter | 22 from piecrust.formatting.textileformatter import TextileFormatter |
| 22 from piecrust.formatting.smartypantsformatter import SmartyPantsFormatter | 23 from piecrust.formatting.smartypantsformatter import SmartyPantsFormatter |
| 23 from piecrust.importing.jekyll import JekyllImporter | 24 from piecrust.importing.jekyll import JekyllImporter |
| 24 from piecrust.importing.piecrust import PieCrust1Importer | 25 from piecrust.importing.piecrust import PieCrust1Importer |
| 96 JinjaTemplateEngine(), | 97 JinjaTemplateEngine(), |
| 97 PystacheTemplateEngine()] | 98 PystacheTemplateEngine()] |
| 98 | 99 |
| 99 def getFormatters(self): | 100 def getFormatters(self): |
| 100 return [ | 101 return [ |
| 102 HoedownFormatter(), | |
| 101 MarkdownFormatter(), | 103 MarkdownFormatter(), |
| 102 SmartyPantsFormatter(), | 104 SmartyPantsFormatter(), |
| 103 TextileFormatter()] | 105 TextileFormatter()] |
| 104 | 106 |
| 105 def getProcessors(self): | 107 def getProcessors(self): |
