Convert bold, italic, and bolditalic EAD emphasis tag to markdown when markdown is enabled in AtoM
|Assignee:||Dan Gillean||% Done:|
|Category:||EAD||Estimated time:||8.00 hours|
|Target version:||Release 2.5.0|
|Google Code Legacy ID:||Tested version:|
In issue #12148 we have added support for Markdown in AtoM via the PHP library Parsedown. This ability to style texts can be turned on and off via an administrative setting.
When the Markdown setting is turned on in AtoM, this feature will add the ability for AtoM to preserve some rendering elements found in EAD 2002 XML documents during import. Specifically, when markdown is enabled and an EAD XML description is imported with <emph> tags that have @render attributes of "bold", "italic" or "bolditalic", AtoM will convert these to markdown on import to preserve the stylistic display in AtoM.
NOTE: many of the render types defined in EAD are not supported by ParseDown (e.g. underline, singlequote, sub, super, smcaps). The complete list of render types currently included in this feature is “italic”, “bold”, and “bolditalic”. The scope of work also does not include converting EAD XML lists (<list>, <item>) to markdown.
The EAD emph element conversion to markdown will be supported in AtoM when it is found within the following EAD elements: