add lists support to babycode
This commit is contained in:
@ -6,6 +6,27 @@
|
||||
<li>[i]<i>italic</i>[/i]</li>
|
||||
<li>[s]<del>strikethrough</del>[/s]</li>
|
||||
<li>[url=https://example.com]<a href="https://example.com">labeled URL</a>[/url]</li>
|
||||
<li>
|
||||
[ul] and [ol] are unordered and ordered lists:
|
||||
<details>
|
||||
<summary>Show list example</summary>
|
||||
<pre><span class="copy-code-container"><button type=button class="copy-code" value="[ul]
|
||||
item 1
|
||||
|
||||
item 2
|
||||
|
||||
item 3
|
||||
still item 3 (break line without inserting a new item by using two spaces at the end of a line)
|
||||
[/ul]">Copy</button></span><code>[ul]
|
||||
item 1
|
||||
|
||||
item 2
|
||||
|
||||
item 3
|
||||
still item 3 (break line without inserting a new item by using two spaces at the end of a line)
|
||||
[/ul]</code></pre>
|
||||
</details>
|
||||
</li>
|
||||
<li>
|
||||
[code]with<br>line breaks[/code] will produce a code block:
|
||||
<details>
|
||||
|
Reference in New Issue
Block a user