Deploying to gh-libmedium from @ fc371487fd
🚀
This commit is contained in:
parent
aa431a588e
commit
d651078c1b
5 changed files with 16 additions and 8 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -424,6 +424,10 @@
|
||||||
<a href="#424" id="424">424</a>
|
<a href="#424" id="424">424</a>
|
||||||
<a href="#425" id="425">425</a>
|
<a href="#425" id="425">425</a>
|
||||||
<a href="#426" id="426">426</a>
|
<a href="#426" id="426">426</a>
|
||||||
|
<a href="#427" id="427">427</a>
|
||||||
|
<a href="#428" id="428">428</a>
|
||||||
|
<a href="#429" id="429">429</a>
|
||||||
|
<a href="#430" id="430">430</a>
|
||||||
</pre><pre class="rust"><code><span class="comment">/*
|
</pre><pre class="rust"><code><span class="comment">/*
|
||||||
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
||||||
*
|
*
|
||||||
|
@ -492,7 +496,7 @@
|
||||||
<span class="string">"<p>"</span>.into()
|
<span class="string">"<p>"</span>.into()
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"PRE" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"PRE" </span>{
|
||||||
<span class="string">"<pre>"</span>.into()
|
<span class="string">"<pre>"</span>.into()
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"BQ" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"BQ" </span>|| p.type_ == <span class="string">"PQ" </span>{
|
||||||
<span class="string">"<blockquote>"</span>.into()
|
<span class="string">"<blockquote>"</span>.into()
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"H1" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"H1" </span>{
|
||||||
<span class="string">"<h1>"</span>.into()
|
<span class="string">"<h1>"</span>.into()
|
||||||
|
@ -559,8 +563,10 @@
|
||||||
state.in_oli = <span class="bool-val">true</span>;
|
state.in_oli = <span class="bool-val">true</span>;
|
||||||
<span class="string">"<ol><li>"</span>.into()
|
<span class="string">"<ol><li>"</span>.into()
|
||||||
}
|
}
|
||||||
|
} <span class="kw">else if </span>p.type_ == <span class="string">"MIXTAPE_EMBED" </span>{
|
||||||
|
<span class="string">"<div class='mixtape'><p>"</span>.into()
|
||||||
} <span class="kw">else </span>{
|
} <span class="kw">else </span>{
|
||||||
<span class="macro">log::info!</span>(<span class="string">"Unknown type"</span>);
|
<span class="macro">log::info!</span>(<span class="string">"Unknown type: {}"</span>, p.type_);
|
||||||
<span class="string">r#"
|
<span class="string">r#"
|
||||||
<p class="libmedium__meta">
|
<p class="libmedium__meta">
|
||||||
<b>From LibMedium:</b> LibMedium is built by reverse
|
<b>From LibMedium:</b> LibMedium is built by reverse
|
||||||
|
@ -594,7 +600,7 @@
|
||||||
<span class="string">"</p>"</span>.into()
|
<span class="string">"</p>"</span>.into()
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"PRE" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"PRE" </span>{
|
||||||
<span class="string">"</pre>"</span>.into()
|
<span class="string">"</pre>"</span>.into()
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"BQ" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"BQ" </span>|| p.type_ == <span class="string">"PQ" </span>{
|
||||||
<span class="string">"</blockquote>"</span>.into()
|
<span class="string">"</blockquote>"</span>.into()
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"H1" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"H1" </span>{
|
||||||
<span class="string">"</h1>"</span>.into()
|
<span class="string">"</h1>"</span>.into()
|
||||||
|
@ -629,6 +635,8 @@
|
||||||
}
|
}
|
||||||
} <span class="kw">else if </span>p.type_ == <span class="string">"OLI" </span>|| p.type_ == <span class="string">"ULI" </span>{
|
} <span class="kw">else if </span>p.type_ == <span class="string">"OLI" </span>|| p.type_ == <span class="string">"ULI" </span>{
|
||||||
<span class="string">"</li>"</span>.into()
|
<span class="string">"</li>"</span>.into()
|
||||||
|
} <span class="kw">else if </span>p.type_ == <span class="string">"MIXTAPE_EMBED" </span>{
|
||||||
|
<span class="string">"</p></div>"</span>.into()
|
||||||
} <span class="kw">else </span>{
|
} <span class="kw">else </span>{
|
||||||
<span class="string">"</span>"</span>.into()
|
<span class="string">"</span>"</span>.into()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue