diff options
author | rsiddharth <s@ricketyspace.net> | 2017-02-21 02:13:38 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2017-02-21 02:30:47 +0000 |
commit | 9a5fabf9c3a92680e56ff02bf1325a86f9eec551 (patch) | |
tree | 510bfec6e7c9e13ccc7c2af85d00dbad90f5f660 | |
parent | a2b67740f555b7bd98e5618ae3233e3793f8bdeb (diff) |
mdl_style.py: Update LSRenderer
* mdl_style.py (LSRenderer.text): Add method.
* markdown_link_style/_version.py (__version__): Add variable.
-rw-r--r-- | markdown_link_style/_version.py | 2 | ||||
-rw-r--r-- | mdl_style.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/markdown_link_style/_version.py b/markdown_link_style/_version.py index a11c586..5d3c1c3 100644 --- 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 index 136704f..89ed590 100644 --- 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) |