Page 1 of 1

To Markdown macro

Posted: 2017-08-21 17:49:04
by tomoyuki-kosaka
Previously, I asked here about a macro for converting NWP file to Markdown format.
Just briefly, I made a not sophisticated one.
It is based on "Copy as HTML v3.3" macro by @loulesko.
And, @philip also helped me.

This macro worked for me as expect but I'm not sure about other files and situations.
It can handle, table, image, URL embedded file.
If someone use and find usefulness or improve points for this, it's very happy to me.
If you have some comment, please send it to me.
Anyway, I post this code.

Re: To Markdown macro

Posted: 2017-08-26 03:30:26
by Groucho
Thank you very much, Tomoyuki!

Henry.

Re: To Markdown macro

Posted: 2018-01-14 08:28:18
by Axbax
Hi,
I have been trying to make this work, but it only changes Heading 1 to # and removes style from ordered lists. The rest of the document is still styled. Am I doing something wrong (style names are default as required in the macro) or is there an update to this macro that I could try?
Thanks for your help!
Ken

Re: To Markdown macro

Posted: 2018-01-15 05:49:21
by phspaelti
Axbax wrote:Hi,
I have been trying to make this work, but it only changes Heading 1 to # and removes style from ordered lists. The rest of the document is still styled. Am I doing something wrong (style names are default as required in the macro) or is there an update to this macro that I could try?
It seems that Tomoyuki left some kind of unusual language formatting on parts of the macro. Since the macro uses styled find and replace in his macro, those statements won't work for most people.

Here is a version with extraneous formatting removed:

Re: To Markdown macro

Posted: 2018-01-16 00:22:44
by Axbax
Excellent, thanks!

Re: To Markdown macro

Posted: 2018-02-01 17:20:46
by tomoyuki-kosaka
Sorry for the trouble, Axbax. I did not check this form a while.
And, thank you phspaelti! I appreciate your help!

Honestly, I'm not heavy user of this macro...
I'll try to use and improve this.