Add new classes to wikitext created emphasised elements to make them easily stylable (#8163)

* allow internal link to be wikitex formatted as bold

* fix typo

* add new classes to all emphasis and inline-code elements

* fix tests for new STRONG classes
This commit is contained in:
Mario Pietsch
2024-10-30 10:19:01 +01:00
committed by GitHub
parent 40fca47974
commit 44cf2e3c70
12 changed files with 35 additions and 8 deletions

View File

@@ -48,6 +48,9 @@ exports.parse = function() {
tag: "code",
children: [{
type: "text",
attributes: {
class: {type: "string", value: "tc-emphasis tc-code"}
},
text: text,
start: start,
end: this.parser.pos