markdown-link-style

switch between inline and footnote link style in markdown documents.
git clone git://git.ricketyspace.net/markdown-link-style.git
Log | Files | Refs

commit 9a5fabf9c3a92680e56ff02bf1325a86f9eec551
parent a2b67740f555b7bd98e5618ae3233e3793f8bdeb
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue, 21 Feb 2017 02:13:38 +0000

mdl_style.py: Update LSRenderer

* mdl_style.py (LSRenderer.text): Add method.
* markdown_link_style/_version.py (__version__): Add variable.

Diffstat:
markdown_link_style/_version.py | 2+-
mdl_style.py | 3+++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/markdown_link_style/_version.py b/markdown_link_style/_version.py @@ -18,4 +18,4 @@ # along with markdown-link-style (see COPYING). If not, see # <http://www.gnu.org/licenses/>. -__version__ = '0.1.0.dev1' +__version__ = '0.1.0.dev2' diff --git a/mdl_style.py b/mdl_style.py @@ -67,6 +67,9 @@ class LSRenderer(Renderer): self.fn_lnk_num = 0 # footnote style link number self.fn_lnk_refs = [] # footnote style link refs + def text(self, text): + return text + def autolink(self, link, is_email=False): return '<{}>'.format(link)