Merge branch 'diceroll-2' into 'config'

Add inline dicerolling. Fix #15

Closes #15

See merge request leftypol/leftypol!2
This commit is contained in:
Zankaria Auxa 2024-10-13 22:32:30 +00:00
commit a86c9f8d8f
4 changed files with 65 additions and 5 deletions

View file

@ -77,6 +77,7 @@
<p> ==text== makes it a heading: <span class="heading">text</span></p>
<p> **text** makes it spoiler: <span class="spoiler">text</span></p>
<p> [code]text[/code] makes it code: <pre class="code lang-">text</pre></p>
<p> [dice:XdY+Z] rolls a X dices with Y faces, adding Z to the result: <img src="static/d10.svg" alt="1 d 2 + 0" title="1 d 2 + 0" class="inline-dice"></p>
<h2 id="7">
Why are my posts being changed / word-filtered ?
</h2>