12 KiB
Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: ***
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
ATTENZIONE!
- Uno
- Due
- tre
- tre
- tre
- Due
-
Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-
Another item in the same list. *** Output of inspect *** md_el(:document,[ md_el(:ol,[ md_el(:li_span,[ "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus." ],{:want_my_paragraph=>false},[]), md_el(:li_span,[ "Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing." ],{:want_my_paragraph=>false},[]), md_el(:li_span,[ "Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing." ],{:want_my_paragraph=>false},[]), md_el(:li_span,[ "Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing." ],{:want_my_paragraph=>false},[]), md_el(:li_span,[ "Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing." ],{:want_my_paragraph=>false},[]) ],{},[]), md_par(["Ancora"]), md_el(:ol,[ md_el(:li,[ md_par([ "This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus." ]), md_par(["ATTENZIONE!"]), md_el(:ul,[ md_el(:li,[md_par(["Uno"])],{:want_my_paragraph=>false},[]), md_el(:li,[ md_par(["Due"]), md_el(:ol,[ md_el(:li_span,["tre"],{:want_my_paragraph=>false},[]), md_el(:li_span,["tre"],{:want_my_paragraph=>false},[]), md_el(:li_span,["tre"],{:want_my_paragraph=>false},[]) ],{},[]) ],{:want_my_paragraph=>true},[]), md_el(:li,[md_par(["Due"])],{:want_my_paragraph=>false},[]) ],{},[]) ],{:want_my_paragraph=>true},[]), md_el(:li,[ md_par(["Suspendisse id sem consectetuer libero luctus adipiscing."]) ],{:want_my_paragraph=>false},[]) ],{},[]), md_par(["Ancora"]), md_el(:ul,[ md_el(:li,[ md_par(["This is a list item with two paragraphs."]), md_par([ "This is the second paragraph in the list item. You", md_entity("rsquo"), "re only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit." ]) ],{:want_my_paragraph=>true},[]), md_el(:li,[md_par(["Another item in the same list."])],{:want_my_paragraph=>false},[]) ],{},[]) ],{},[]) *** Output of to_html ***
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
ATTENZIONE!
-
Uno
-
Due
- tre
- tre
- tre
-
Due
-
-
Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs.
This is the second paragraph in the list item. You’re only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-
Another item in the same list.
\end{enumerate} Ancora
\begin{enumerate}% \item This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
ATTENZIONE!
\begin{itemize}% \item Uno
\item Due
\begin{enumerate}% \item tre \item tre \item tre
\end{enumerate}
\item Due
\end{itemize}
\item Suspendisse id sem consectetuer libero luctus adipiscing.
\end{enumerate} Ancora
\begin{itemize}% \item This is a list item with two paragraphs.
This is the second paragraph in the list item. You'{}re only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
\item Another item in the same list.
\end{itemize} *** Output of to_md ***
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. ATTENZIONE! Uno
Due
- tre
- tre
- tre
Due
-
Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-This is a list item with two paragraphs. This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. -nother item in the same list. *** Output of to_s *** Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.ATTENZIONE!UnoDuetretretreDueSuspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs.This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Another item in the same list. *** EOF ***
OK!
*** Output of Markdown.pl ***
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
ATTENZIONE!
- Uno
- Due
- tre
- tre
- tre
- Due
Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Another item in the same list.
*** Output of Markdown.pl (parsed) ***
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
-
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
- Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
ATTENZIONE!
- Uno
-
Due
- tre
- tre
- tre
- Due
-
Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
-
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-
Another item in the same list.