Custom formatting for OSM tags in Discourse?

I was wondering, is there a possibility to add custom formatting to this Discourse instance?

What I wish for is ability to use two wiki-alike constructs:

  • {{Tag|artwork_type|sculpture}}
  • {{Key|artwork_type}}

which would in Discourse messages expand to:

respectively. I understand that diverting as little as possible from upstream is very desirable, but on the other hand, much of the discussion on Discourse is related to tagging, and it is very cumbersome and very error-prone to try to manually create links like that (even when using copy/paste generously). There are also almost impossible to re-read by the author and find right place in editing window while editing the message.

And I’ve noticed that by just doing low-effort artwork_type=sculpture is not only less readable, but leads to many misunderstandings and needless explaining, as not many users (read: almost nobody) will bother to open wiki.openstreetmap.org and search for those tags, fighting with sub-ideal wiki search functionality.
But when they’re made as links, and they’re just one click away, they’ll click them a lot more often and thus get information easily.

So adding such support would help enormously both people writing the messages mentioning wiki tags, and people reading (and replying) to those messages.

8 posts - 5 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/custom-formatting-for-osm-tags-in-discourse/98059