mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 05:14:36 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user