nisus.com
https://www.nisus.com/forum/

To Markdown macro
https://www.nisus.com/forum/viewtopic.php?f=17&t=6800
Page 1 of 1

Author:  tomoyuki-kosaka [ 2017-08-21 17:49:04 ]
Post subject:  To Markdown macro

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.

Attachments:
To Markdown.nwm [36.08 KiB]
Downloaded 43 times

Author:  Groucho [ 2017-08-26 03:30:26 ]
Post subject:  Re: To Markdown macro

Thank you very much, Tomoyuki!

Henry.

Author:  Axbax [ 2018-01-14 08:28:18 ]
Post subject:  Re: To Markdown macro

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

Author:  phspaelti [ 2018-01-15 05:49:21 ]
Post subject:  Re: To Markdown macro

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:

Attachments:
To Markdown.nwm [23.96 KiB]
Downloaded 18 times

Author:  Axbax [ 2018-01-16 00:22:44 ]
Post subject:  Re: To Markdown macro

Excellent, thanks!

Author:  tomoyuki-kosaka [ 2018-02-01 17:20:46 ]
Post subject:  Re: To Markdown macro

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.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/