Preserve styles in RTF export
I'm trying to get my small company away from using Word for creating reports for our clients – at least during the writing phase. While I'm a technically savvy user, most of them are not, i.e. they don't know how to use a command line, etc.
Marked is the (almost) ideal solution for us. Currently, Marked copies and pastes all the styled text as "Free Form" in Pages and "Normal (Web)" in Word.
It would be great if Marked preserved the styles when exporting or copying rich text. For example:
# Heading 1 would map to the Heading 1 style in Pages and/or Word. Paragraph text would map to Body and bullets would map to Body Bullet.
Having this would allow us to apply our style template to the output from Marked and have a report that is essentially ready to go.
I know I can create a custom CSS file (and I'm working on that), but it would be nice to preserve the styles in Pages and/or Word. (Pages would be my first preference since we're trying to move final report finishing to that application.)
Thanks. Great product!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 20 Apr, 2012 01:44 PM
As far as I know there's no way to map HTML styles directly to Pages/Word settings. OS X processing of Rich Text just doesn't allow for integration like that.
The RTF export in the next version is already vastly improved, and I'll look into options for mapping styles, but I can't make any promises.
-Brett
2 Posted by Derick on 03 Sep, 2013 03:53 AM
This would be great. I exported RTF from Marked and opened it up in Nisus Writer Pro expecting to be able to just tweak the style sheet and print, but none of the styles were converted to RTF styles.
3 Posted by jjsanderson on 24 Jul, 2014 06:53 PM
Huge upvote on this, for whatever that's worth (and with apologies for resurrecting an old thread).
I've been looking for a way to get from Markdown to paragraph-styled documents for further formatting, and it doesn't seem possible. I'd settle for just heading paras being tagged with the appropriate style in Word or Pages and everything else coming in as 'Body Text', though ordered and unordered lists and URL links would be useful too.
Without some way of doing this, documents ultimately bound for typesetting more-or-less have to start in Word or Pages. Yuck. I suspect the likely solution is for Pages to acquire some sort of HTML import filter, but I'm not holding out much hope.
(meanwhile: huge thanks for Marked, Brett. I'm a very happy customer, just a demanding one. :-)
4 Posted by Derick on 24 Jul, 2014 08:44 PM
I have found a solution if you are using Nisus Writer Pro. There is a markdown conversion macro in the Nisus forums ( http://nisus.com/forum/viewtopic.php?f=18&t=4013 ) that converts Markdown and applies RTF styles in the process. Of course this bypasses Marked altogether.
5 Posted by yuvi zalkow on 24 Jan, 2015 08:01 PM
Oh wow. Yes, I'd love it if Marked could convert documents to Word and preserve/map the styles. That would massively simplify my workflow from this:
Scrivener --> Tedious error-prone voodoo black magic --> Word --> Send to my editor.
To this:
Scrivener --> Marked --> Word --> Send to my editor.
(Love the app as is too!) Thanks.
6 Posted by ellis on 28 Oct, 2015 07:40 AM
Texts does preserve styles when you export markdown to Word, so it should be possible.
My workaround is to build an index page in Marked and save that as a .md fie, then use Texts to export to Word. However, the MMD metadata placed in the body only shows as variables (%name), so it's not a perfect solution.