I'm ignorant in this area, but what about swapping the MD coding for RTF
coding?
It could be done with a multi-step VBA macro, then imported as a Word file.

Dave Creamer
IDEAS Training

------------------------------
Date: Wed, 1 Jan 2020 12:29:59 -0800
From: Robert Lauriston <[email protected]>

Markdown itself doesn't have syntax highlighting, that's done by the
rendering engine. So there's nothing to convert.

https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code
I don't know of any FrameMaker add-on that can add syntax highlighting to
PDF output.
You could use Pandoc rather than FrameMaker to go from Markdown to PDF.

https://pandoc.org/MANUAL.html#syntax-highlighting

On Tue, Dec 31, 2019 at 1:42 PM Orly Zimmerman <[email protected]> wrote:
>
> HI All, I have a document in Markdown (md) that I was asked to convert to
FM.  I can do it quickly using wildcards,regexs and scripts.
> All is fine and good, except when I get to source code. The source code is
formatted extremely nicely and clearly (with different colors for commands,
comments, etc and also with code line numbers) in the MD file. I can't come
close to it in FM without using a fair share of different, newly created
para and char tags, etc.This is extremely frustrating because I can take the
text and simply plunk it into Notepad++ and it gets formatted properly
depending on the language I choose. Perhaps there is a secret setting
somewhere in FM, that FM can read this code and understand how to format it?
and save me loads of time.
> I prefer not creating a JPG or BMP of the code - because then the info 
> won't be searchable in the PDF. Many Thanks for any ideas :)Happy New 
> Year!Orly Zimmerman


_______________________________________________

This message is from the Framers mailing list

Send messages to [email protected]
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to [email protected]

Reply via email to