Vicente Bermúdez Posted October 8, 2023 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
v_kyr Posted October 8, 2023 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 ... ☛ 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
Figmatt Posted April 2 Posted April 2 I just want to import text and have bullet lists, headings, bold and italics preserved This is an OK workaround but still leaves much to do. Olix 1
loukash Posted April 3 Posted April 3 pick any random MD-to-DOCX online converter tool, for example https://converthub.com/md-to-docx proceed place the resulting DOCX into Publisher voilà MacBookAir 15": MacOS Sonoma > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 18 > Affinity v2
Recommended Posts