Add "Markdown" to g7:MIME in v7.1 GEDCOM #592
Replies: 3 comments
-
See #222 |
Beta Was this translation helpful? Give feedback.
-
I was thinking of something like:
Applications should at least accommodate the following:
It is encouraged to support additional Markdown elements, such as inline images, tables, blockquotes, and other layout features. Elements that are not supported should be disregarded during display. NOTE: Markdown is immediately understandable by a human since the GEDCOM text already resembles the visual output. For instance:
|
Beta Was this translation helpful? Give feedback.
-
This is a duplicate of #222, please continue the discussion there. |
Beta Was this translation helpful? Give feedback.
-
We have discussed this previously but I have seen no additional movement to add this concept to v7.1 of GEDCOM.
Many applications including GITHUB use a form of "Markdown" to provide a simple way to format text that is easy to read by humans. The web based genealogy software I use has implemented Markdown for any user entered text that needs presentation information (i.e. Bolding, Underline, Bullets, etc).
GEDCOM has already implemented for
g7:MIME
the use oftext/html
with minimum support recommendations for some common formatting concepts. The v7.1 GEDCOM Standard should include similar concepts for Markdown in this release.Markdown as opposed to HTML embedded in text has a distinct advantage for online application as it allows for an online application to internally translate entered markdown to whatever data presentation format it uses skipping markdown elements (any or all) it does not understand but allows for better understand of the intent of the markdown by casual readers. While in an online environment the application must first remove any HTML constructs that it does not understand/use as well as remove all harmful HTML constructs (for example: code injection and scripts), as well as font attributes (size, color, type face) that are detrimental to the overall page design, before processing the remaining HTML.
Basic Markdown provides for the following text formatting:
Additional functions such as tables can be added that are easy to visualize in a text document.
MIME (Media type) g7:MIME should add the
text/markdown
feature to v7.1 GEDCOM design as an alternative to using HTML exclusively in text based payloads. As used in Github!Beta Was this translation helpful? Give feedback.
All reactions