FHIR Chat · markdown not rendering for searhparameter descriptions · IG creation

Stream: IG creation

Topic: markdown not rendering for searhparameter descriptions


view this post on Zulip Eric Haas (Nov 14 2020 at 18:24):

markdown not rendering for searhparameter descriptions

screenshot from http://build.fhir.org/ig/HL7/US-Core/artifacts.html:

image.png

view this post on Zulip Chris Moesel (Nov 14 2020 at 19:02):

Is that possibly because in R4 IG.resource.description is a string, not markdown?

view this post on Zulip Eric Haas (Nov 15 2020 at 02:37):

the other types - examples for instance the markdown renders fine

view this post on Zulip Grahame Grieve (Nov 15 2020 at 10:35):

I actually have to process as markdown. The type isn't directly relevant (though obviously it's a good trigger to get me to do that

view this post on Zulip Eric Haas (Nov 15 2020 at 20:09):

this is fhir artifacts table, isnt that a @Lloyd McKenzie thing?

view this post on Zulip Lloyd McKenzie (Nov 15 2020 at 20:40):

It runs the content through markdownify. Apparently that doesn't handle XHTML tags

view this post on Zulip Grahame Grieve (Nov 15 2020 at 21:30):

neither should any other markdown processor. if anything is, it's only until I get around to getting it not to

view this post on Zulip Grahame Grieve (Nov 15 2020 at 21:30):

it's certainly not valid in a specification source.

view this post on Zulip Eric Haas (Nov 16 2020 at 01:17):

common mark handles html tags when i checked.

view this post on Zulip Grahame Grieve (Nov 16 2020 at 01:17):

html tags are prohibited in the fhir spec for security reasons

view this post on Zulip Eric Haas (Nov 16 2020 at 01:21):

you mean this ...GFM prohibits Raw HTML ... OK I'll fix it


Last updated: Apr 12 2022 at 19:14 UTC