how to add a custom "tag" to markdown

J

James Tippett

Hi list,

In a project I need to add some kind of custom "tag" to markdown which =
will be pre-processed by the application. In an otherwise normal bit of =
markdown text (a news posting), I would like to be able to refer to =
other posts, whose URL and description, etc, will be looked up by the =
app and added. It might look something like this:

article:12345

the application would see that text in the post, look up what article =
12345 is, and replace the reference with a link as appropriate.

What would be the best way to achieve this? Some sort of preprocessing? =
Or is there an easy/elegant way to extend Markdown to support this kind =
of thing "natively"?

thanks for any suggestions,

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,839
Latest member
MartinaBur

Latest Threads

Top