REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML. Produces a 3-fold speedup in the #to_html method.
This commit is contained in:
parent
46da1f3aaf
commit
13a522525c
369 changed files with 1703 additions and 16342 deletions
34
vendor/plugins/maruku/spec/block_docs/code.md
vendored
Normal file
34
vendor/plugins/maruku/spec/block_docs/code.md
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
Comment
|
||||
*** Parameters: ***
|
||||
{}
|
||||
*** Markdown input: ***
|
||||
Here is an example of AppleScript:
|
||||
|
||||
tell application "Foo"
|
||||
beep
|
||||
end tell
|
||||
tab
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_par(["Here is an example of AppleScript:"]),
|
||||
md_el(:code,[],{:raw_code=>"tell application \"Foo\"\n beep\nend tell\n\ttab"},[])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>Here is an example of AppleScript:</p>
|
||||
|
||||
<pre><code>tell application "Foo"
|
||||
beep
|
||||
end tell
|
||||
tab</code></pre>
|
||||
*** Output of to_latex ***
|
||||
Here is an example of AppleScript:
|
||||
|
||||
\begin{verbatim}tell application "Foo"
|
||||
beep
|
||||
end tell
|
||||
tab\end{verbatim}
|
||||
*** Output of to_md ***
|
||||
Here is an example of AppleScript:
|
||||
*** Output of to_s ***
|
||||
Here is an example of AppleScript:
|
Loading…
Add table
Add a link
Reference in a new issue