summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/test/new/smartypants_code.md
blob: 6c4c52332e99815efbfed76338ede481e5448cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
smartypants: true
description: SmartyPants does not modify characters within <pre>, <code>, <kbd>, or <script> tag blocks.
spec: https://daringfireball.net/projects/smartypants/
---
<pre>&amp;</pre>
<code>--foo</code>
<kbd>---foo</kbd>
<script>--foo</script>

Ensure that text such as custom tags that happen to
begin with the same letters as the above tags don't
match and thus benefit from Smartypants-ing.
<script-custom>--foo</script-custom>
`--foo` <codebar --foo codebar>