File: spaces_after_inline_math.md

package info (click to toggle)
ruby-maruku 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,304 kB
  • sloc: ruby: 5,741; xml: 235; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

*** Parameters: ***
require 'maruku/ext/math'; {:html_math_engine => 'itex2mml'}
*** Markdown input: ***
This *is* $a * b * c$ ahem.
*** Output of inspect ***
md_el(:document, md_par([
        "This ",
        md_em("is"),
        " ",
        md_el(:inline_math, [], {:math=>"a * b * c"}),
        " ahem."
]))
*** Output of to_html ***
<p>This <em>is</em> <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline" class="maruku-mathml"><semantics><mrow><mi>a</mi><mo>*</mo><mi>b</mi><mo>*</mo><mi>c</mi></mrow><annotation encoding="application/x-tex">a * b * c</annotation></semantics></math> ahem.</p>
*** Output of to_latex ***
This \emph{is} $a * b * c$ ahem.