python-tldp/tldp/doctypes/markdown.py

32 lines
731 B
Python
Raw Normal View History

2016-02-11 03:22:23 +00:00
#! /usr/bin/python
2016-02-18 21:25:02 +00:00
# -*- coding: utf8 -*-
2016-02-11 03:22:23 +00:00
from __future__ import absolute_import, division, print_function
2016-02-11 03:22:23 +00:00
import logging
2016-02-25 20:29:55 +00:00
logger = logging.getLogger(__name__)
2016-02-11 03:22:23 +00:00
from tldp.doctypes.common import BaseDoctype
class Markdown(BaseDoctype):
2016-02-12 20:43:45 +00:00
formatname = 'Markdown'
2016-02-11 03:22:23 +00:00
extensions = ['.md']
signatures = []
2016-02-12 20:43:45 +00:00
tools = ['pandoc']
def create_txt(self):
logger.info("Creating txt for %s", self.source.stem)
def create_pdf(self):
logger.info("Creating PDF for %s", self.source.stem)
def create_html(self):
logger.info("Creating chunked HTML for %s", self.source.stem)
def create_htmls(self):
logger.info("Creating single page HTML for %s", self.source.stem)
2016-02-11 03:22:23 +00:00
#
# -- end of file