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

@@ -29,10 +29,10 @@ testindex: This is ''wikitext''
+
title: ExpectedResult
<p>This is <strong>wikitext</strong>
<p>This is <strong class="tc-emphasis tc-strong">wikitext</strong>
-
<pre><code>This is ''wikitext''</code></pre></p><p>This is <strong>wikitext</strong>
<pre><code>This is ''wikitext''</code></pre></p><p>This is <strong class="tc-emphasis tc-strong">wikitext</strong>
-
<pre><code>This is ''wikitext''</code></pre></p><p>This is <strong>wikitext</strong>
<pre><code>This is ''wikitext''</code></pre></p><p>This is <strong class="tc-emphasis tc-strong">wikitext</strong>
-
<pre><code>This is ''wikitext''</code></pre></p>