Jump to content

Recommended Posts

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.

Link to comment
Share on other sites

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 (?).

Markdown -> SVG -> APub ...

product_svg.jpg.d76f6a50461a4f1108ec7759d27fa15f.jpg

Markdown -> PDF -> APub ...

products_pdf.jpg.ce77110ee9cf8ab9eb9f89e24a4bd801.jpg

☛ 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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.