Configuring the HTML-Rendering in Parsedown-Extra for TYPO3
Defining CSS classes for HTML table tags
You can simply add own CSS classes to the HTML table tags by using the following TypoScript:
plugin.tx_parsedownextra {
settings {
tableClass = table table-bordered table-striped table-hover table-sm Test
}
}
Defining attributes for links
You can simply add own attributes to the HTML a tags by using the following TypoScript:
plugin.tx_parsedownextra {
settings {
linksAttr {
class = interal-link
target = _top
}
}
}
Defining attributes for external links
You can simply add own attributes to the HTML a tags by using the following TypoScript:
plugin.tx_parsedownextra {
settings {
linksExternalAttr {
class = external-link
target = _blank
}
}
}