Implement inline source blocks
https://orgmode.org/manual/Structure-of-Code-Blocks.html
This commit is contained in:
parent
6ed46ba95d
commit
3018ace8d0
8 changed files with 83 additions and 21 deletions
11
org/testdata/inline.html
vendored
11
org/testdata/inline.html
vendored
|
@ -43,6 +43,17 @@ links with slashes do not become <em>emphasis</em>: <a href="https://somelinksho
|
|||
</li>
|
||||
<li>
|
||||
<p>
|
||||
inline source blocks like <div class="src src-inline src-html">
|
||||
<div class="highlight-inline">
|
||||
<pre>
|
||||
<h1>hello</h1>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<code class="verbatim">multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)</code>
|
||||
<em>so this
|
||||
|
|
1
org/testdata/inline.org
vendored
1
org/testdata/inline.org
vendored
|
@ -8,6 +8,7 @@
|
|||
- links with slashes do not become /emphasis/: [[https://somelinkshouldntrenderaccidentalemphasis.com]]/ /emphasis/
|
||||
- _underlined_ *bold* =verbatim= ~code~ +strikethrough+
|
||||
- *bold string with an *asterisk inside*
|
||||
- inline source blocks like src_html[:eval no]{<h1>hello</h1>}
|
||||
- =multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)=
|
||||
/so this
|
||||
|
|
1
org/testdata/inline.pretty_org
vendored
1
org/testdata/inline.pretty_org
vendored
|
@ -8,6 +8,7 @@
|
|||
- links with slashes do not become /emphasis/: [[https://somelinkshouldntrenderaccidentalemphasis.com]]/ /emphasis/
|
||||
- _underlined_ *bold* =verbatim= ~code~ +strikethrough+
|
||||
- *bold string with an *asterisk inside*
|
||||
- inline source blocks like src_html[:eval no]{<h1>hello</h1>}
|
||||
- =multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)=
|
||||
/so this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue