py/mm2markdown — pull request #5 by boulderalf (2014-03-07 21:50:36+00:00)
Title: mm2markdown with heading numbering

Hello,

I found your mm2markdown.xsl for Freeplane very helpful. Up until today I was using Freemind and some [Javascript hacks](http://codepen.io/boulderalf/full/ntewK) and a lot of copy/paste to export a Freemind map to Markdown. I am using [MarkdownPad 2](http://markdownpad.com/) for converting markdown to PDF. Unfortunately that application does not support numbered headings so I made a small tweak to your mm2markdown.xsl file to allow Freeplane to export Markdown with automatic heading numbering. I did not want to change your existing mm2markdown.xsl so I created a new one called mm2markdown-numbering.xsl so that Freeplane users have the option of exporting numbered or non-numbered headings.

The changes are...

~~~diff
--- C:\personal\github_projects\mm2markdown\xslt\mm2markdown.xsl	2014-03-07 13:45:32.000000000 -0700
+++ C:\personal\github_projects\mm2markdown\xslt\mm2markdown-numbering.xsl	2014-03-07 13:52:39.000000000 -0700
@@ -1,15 +1,24 @@

+

~~~

Regards,

Alfred