presentations/highlight-js/test/markup/python/f-strings.expect.txt

11 lines
761 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
<span class="hljs-string">f'<span class="hljs-subst">{name}</span>'</span>
<span class="hljs-string">f"<span class="hljs-subst">{name + <span class="hljs-number">5</span>}</span>"</span>
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-string">f"""
<span class="hljs-meta">... </span><span class="hljs-subst">{
<span class="hljs-meta">... </span> name
<span class="hljs-meta">... </span>}</span>
<span class="hljs-meta">... </span>"""</span>
<span class="hljs-string">rf"<span class="hljs-subst">{name}</span>"</span>
<span class="hljs-string">fr"<span class="hljs-subst">{name}</span>"</span>
<span class="hljs-string">f"<span class="hljs-subst">{name + <span class="hljs-string">f'<span class="hljs-subst">{name}</span>'</span>}</span>"</span>