Vicente Bermúdez Posted October 8, 2023 Share Posted October 8, 2023 I see many users asking for the feature of importing Markdown templates into their documents. It's normal, with ChatGPT we have an incredible tool to create content for the internet. Having a document with Markdown codes is not the same as having a finished Markdown document. Until Affinity Serif implements that feature, we can do a simple process to get that done. The steps to follow would be: 1. Create a blank document and create the styles H1(#), H2 (##), H3 (###) and Body. 2. Only the (###) (##) and (#) will appear in the template next to the plain text. Now we will do a search and replace (at least in version V2 we can do it like this). Applies the "body" style to the entire document. Replace with this order from greatest to least number of #: "###" without style for "qqq" with style H3. "##" without style for "www" with style H2. "#" without style to "eee" with style H1. Now replace the "qqq", "www" and "eee" by applying "Reset Format" with "" (nothing). You will now have your document laid out in Markdown, clean and with the styles applied. Markdown for Affinity Publisher.mov Quote Link to comment Share on other sites More sharing options...
v_kyr Posted October 8, 2023 Share Posted October 8, 2023 And what's finally the benefit instead of just converting an MD file to SVG or PDF and then importing that into APub? - I doubt people will want to write markdown texts with APub, instead they may be much more interested in importing markdown in already rendered WYSIWYG manner. So what you can actually do is convert markdown to some by APub supported import formats (SVG/PDF) and reuse that then. - For the future they usually just need to add some markdown parser into APub, so that MD text can be imported and rendered the right way (or by a user customized/defined way) in the app. And as above said, I doubt the majority of people want to write and render markdown directly inside Apub (?). product_catalog.md product_catalog.svg Markdown -> SVG -> APub ... Markdown -> PDF -> APub ... Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.