markdown-0.3.0/.cargo_vcs_info.json 0000644 00000000112 13720541240 0012744 0 ustar 00 {
"git": {
"sha1": "9aba1e63556792c3a4ad5afe12b108ff3ed92beb"
}
}
markdown-0.3.0/.gitignore 0100644 0000766 0000024 00000000134 13712061256 0013545 0 ustar 00 0000000 0000000 /target
/Cargo.lock
# Compiled files
*.o
*.so
*.rlib
*.dll
# Executables
*.exe
.DS_Store
markdown-0.3.0/.travis.yml 0100644 0000766 0000024 00000001271 13712070013 0013660 0 ustar 00 0000000 0000000 sudo: false
language: rust
rust:
- nightly
- beta
- stable
matrix:
allow_failures:
- rust: nightly
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo bench &&
travis-cargo --only stable doc
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo
env:
global:
secure: u5D44hcrolV3gPnrISWBBD4U39JvcTfeRdPKEw/OLM9duglXPnaYZEWpVwWkH9dAFACymdqRZoivIMzA1O/B950A3VnD6cZ3HOWlw3OCPJasfol2RrJYsN0PYh0gn8TPZardQYX3/pAt2UI9mmoWHchCMtbkyv2ZD46KB3DkXkg=
markdown-0.3.0/Cargo.lock 0000644 00000004475 13720541240 0010737 0 ustar 00 # This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "aho-corasick"
version = "0.7.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"
dependencies = [
"memchr",
]
[[package]]
name = "difference"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffef4c144e881a906ed5bd6e1e749dc1955cd3f0c7969d3d34122a971981c5ea"
dependencies = [
"getopts",
]
[[package]]
name = "getopts"
version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
dependencies = [
"unicode-width",
]
[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "markdown"
version = "0.3.0"
dependencies = [
"difference",
"lazy_static",
"pipeline",
"regex",
]
[[package]]
name = "memchr"
version = "2.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
[[package]]
name = "pipeline"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d15b6607fa632996eb8a17c9041cb6071cb75ac057abd45dece578723ea8c7c0"
[[package]]
name = "regex"
version = "1.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6"
dependencies = [
"aho-corasick",
"memchr",
"regex-syntax",
"thread_local",
]
[[package]]
name = "regex-syntax"
version = "0.6.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8"
[[package]]
name = "thread_local"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
dependencies = [
"lazy_static",
]
[[package]]
name = "unicode-width"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
markdown-0.3.0/Cargo.toml 0000644 00000002150 13720541240 0010746 0 ustar 00 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "markdown"
version = "0.3.0"
authors = ["Johann Hofmann {} The HTML specification is maintained by the W3C. Operation Tigra Genesis is going well. Linea 1 Linea 2 This block is composed of three lines: This block is composed of 5 This block is composed of 2 test: hello Here is an example of AppleScript: Code This is code (4 spaces): This is not code This is code (1 tab): This is not code Hello! how are you? This is an email address: andrea@invalid.it Maruku translates HTML entities to the equivalent in LaTeX: Entity-substitution does not happen in code blocks or inline code. The following should not be translated: It should read just like this: Hello: ! ! ` { } [ ] ( ) # . ! * * * Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee! This is End of Then you can create links to different parts of the same document like this: Link back to header 1, Link back to header 2, Link back to header 3 That’s some text with a footnote 1 and another 2 and another 3. This is not a footnote. Examples of numeric character references include © or © for the copyright symbol, Α or Α for the Greek capital letter alpha, and ا or ا for the Arabic letter alef. One
"),
};
ret.push_str(&next)
}
ret = ret.trim().to_owned();
ret.push('\n');
ret
}
fn format_spans(elements: &[Span]) -> String {
let mut ret = String::new();
for element in elements.iter() {
let next = match *element {
Break => format!("
"),
Text(ref text) => format!("{}", &escape(text)),
Code(ref text) => format!("{}", &escape(text)),
Link(ref text, ref url, None) =>
format!("{}", &escape(url), &escape(text)),
Link(ref text, ref url, Some(ref title)) => format!("{}",
&escape(url),
&escape(title),
&escape(text)),
Image(ref text, ref url, None) =>
format!("", &escape(url), &escape(text)),
Image(ref text, ref url, Some(ref title)) =>
format!("
",
&escape(url),
&escape(title),
&escape(text)),
Emphasis(ref content) => format!("{}", format_spans(content)),
Strong(ref content) => format!("{}", format_spans(content)),
};
ret.push_str(&next)
}
ret
}
fn escape(text: &str) -> String {
text.replace("&", "&")
.replace("<", "<")
.replace("\"", """)
.replace("'", "’")
.replace(">", ">")
}
fn format_list(elements: &[ListItem], start_tag: &str, end_tag: &str) -> String {
let mut ret = String::new();
for list_item in elements {
let mut content = String::new();
match *list_item {
ListItem::Simple(ref els) => {
content.push_str(&format_spans(els))
}
ListItem::Paragraph(ref paragraphs) => {
content.push_str(&format!("\n{}", to_html(paragraphs)))
}
}
ret.push_str(&format!("\n
\n\n", &escape(elements))
} else {
format!("{}
\n\n", &escape(lang.as_ref().unwrap()), &escape(elements))
}
}
fn format_blockquote(elements: &[Block]) -> String {
format!("{}\n{}
\n\n", to_html(elements))
}
fn format_paragraph(elements: &[Span]) -> String {
format!("
one
threeone
four
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/blanks_in_code.text 0100755 0000766 0000024 00000000220 13712061256 0024536 0 ustar 00 0000000 0000000 This block is composed of three lines:
one
three
This block is composed of 5
one
four
This block is composed of 2
two
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/bug_def.html 0100755 0000766 0000024 00000000032 13712061256 0023160 0 ustar 00 0000000 0000000 two
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/bug_table.text 0100755 0000766 0000024 00000000265 13712061256 0023541 0 ustar 00 0000000 0000000
hello
{: summary="Table summary" .class1 style="color:red"}
h | h
----------|--
{:t} c1 | c2
{: summary="Table summary" .class1 style="color:red"}
{:t: scope="row"}
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/code.html 0100755 0000766 0000024 00000000173 13712061256 0022505 0 ustar 00 0000000 0000000 h h c1 c2
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/code.text 0100755 0000766 0000024 00000000143 13712061256 0022522 0 ustar 00 0000000 0000000 Here is an example of AppleScript:
tell application "Foo"
beep
end tell
tab
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/code2.html 0100755 0000766 0000024 00000000105 13712061256 0022562 0 ustar 00 0000000 0000000 tell application "Foo"
beep
end tell
tab
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/code2.text 0100755 0000766 0000024 00000000024 13712061256 0022602 0 ustar 00 0000000 0000000 > Code
>
> Ciao
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/code3.html 0100755 0000766 0000024 00000000350 13712061256 0022565 0 ustar 00 0000000 0000000 CiaoCodeCodeCode
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/code3.text 0100755 0000766 0000024 00000000174 13712061256 0022611 0 ustar 00 0000000 0000000
This is code (4 spaces):
Code
This is not code
Code
This is code (1 tab):
Code
This is not code
Code
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/data_loss.html 0100755 0000766 0000024 00000000043 13712061256 0023540 0 ustar 00 0000000 0000000 Code
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/data_loss.text 0100755 0000766 0000024 00000000023 13712061256 0023556 0 ustar 00 0000000 0000000 1. abcd
efgh
ijkl
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/easy.html 0100755 0000766 0000024 00000000065 13712061256 0022534 0 ustar 00 0000000 0000000 Entity Result ©©
££
a ba b
λλ
——
©©.Code with a special: -> ` <-(after)Start of paragraphparagraph
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/extra_dl.text 0100755 0000766 0000024 00000000246 13712061256 0023416 0 ustar 00 0000000 0000000 CSS: style.css
Apple
: Pomaceous fruit of plants of the genus Malus in
the family Rosaceae.
Orange
: The fruit of an evergreen tree of the genus Citrus.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/extra_header_id.html 0100755 0000766 0000024 00000000505 13712061256 0024701 0 ustar 00 0000000 0000000 Header 1
Header 2
Header 3
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/extra_table1.text 0100755 0000766 0000024 00000000207 13712061256 0024164 0 ustar 00 0000000 0000000 CSS: style.css
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/footnotes.html 0100755 0000766 0000024 00000001414 13712061256 0023612 0 ustar 00 0000000 0000000 First Header Second Header Content Cell Content Cell
Content Cell Content Cell
A title with emphasis
A title with emphasis
A title with emphasis
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/headers.text 0100755 0000766 0000024 00000000210 13712061256 0023216 0 ustar 00 0000000 0000000 A title with *emphasis*
=======================
A title with *emphasis*
-----------------------
#### A title with *emphasis* ####
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/hex_entities.html 0100755 0000766 0000024 00000000313 13712061256 0024257 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/hrule.text 0100755 0000766 0000024 00000000007 13712061256 0022726 0 ustar 00 0000000 0000000 * * *
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/html2.html 0100755 0000766 0000024 00000000036 13712061256 0022617 0 ustar 00 0000000 0000000
taking part in some arcane conspirations which involve coffee, robots, sushi,
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/html3.text 0100755 0000766 0000024 00000000504 13712061256 0022640 0 ustar 00 0000000 0000000 taking part in some arcane conspirations which involve coffee, robots, sushi, markdown-0.3.0/tests/fixtures/docs-maruku-unittest/html4.html 0100755 0000766 0000024 00000000307 13712061256 0022622 0 ustar 00 0000000 0000000 markdown-0.3.0/tests/fixtures/docs-maruku-unittest/html4.text 0100755 0000766 0000024 00000000316 13712061256 0022642 0 ustar 00 0000000 0000000 markdown-0.3.0/tests/fixtures/docs-maruku-unittest/html5.html 0100755 0000766 0000024 00000000351 13712061256 0022622 0 ustar 00 0000000 0000000 markdown-0.3.0/tests/fixtures/docs-maruku-unittest/html5.text 0100755 0000766 0000024 00000000355 13712061256 0022646 0 ustar 00 0000000 0000000 markdown-0.3.0/tests/fixtures/docs-maruku-unittest/ie.html 0100755 0000766 0000024 00000001277 13712061256 0022176 0 ustar 00 0000000 0000000<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>
<p>here's an apostrophe & a quote "</p>
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/ie.text 0100755 0000766 0000024 00000000460 13712061256 0022207 0 ustar 00 0000000 0000000 `here's an apostrophe & a quote "
`here's an apostrophe & a quote "
{:}here's an apostrophe & a quote "
{:lang=xml}here's an apostrophe & a quote "
{:html_use_syntax=true lang=not_supported}here's an apostrophe & a quote "
{:html_use_syntax=true lang=xml} markdown-0.3.0/tests/fixtures/docs-maruku-unittest/images.html 0100755 0000766 0000024 00000001227 13712061256 0023041 0 ustar 00 0000000 0000000This page does not uilizes
Please mouseover to see the title:
Please mouseover to see the title:
I’ll say it one more time: this page does not use
This is double size:
This is an
.
This is an
.
Input:
<em>Emphasis</em>
Result: Emphasis
Input:
<img src="http://jigsaw.w3.org/css-validator/images/vcss"/>
Result on span:
Result alone:
Without closing:
This is
true
markdown text (paragraph)
This is
true
markdown text (no paragraph)
This is
true
markdown text (block paragraph)
|
This is true markdown text. (no par) |
This is true markdown text. (par) |
The following is invalid HTML, and will generate an error:
HTML parse error: <table> <td markdown="1">This is *true* markdown text. (no par)</td> <td markdown="block">This is *true* markdown text. (par)</td> </tr>
HTML parse error: </table>markdown-0.3.0/tests/fixtures/docs-maruku-unittest/inline_html.text 0100755 0000766 0000024 00000001667 13712061256 0024126 0 ustar 00 0000000 0000000 CSS: style.css Input: Emphasis Result: Emphasis Input:
This is *true* markdown text (no paragraph)
This is *true* markdown text (block paragraph)
| This is *true* markdown text. (no par) | This is *true* markdown text. (par) |
| This is *true* markdown text. (no par) | This is *true* markdown text. (par) |
Test bold
Test bold
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/inline_html2.text 0100755 0000766 0000024 00000000110 13712061256 0024166 0 ustar 00 0000000 0000000Test **bold**
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/links.html 0100755 0000766 0000024 00000001654 13712061256 0022720 0 ustar 00 0000000 0000000Search on Google
Search on Google
Search on Google
Search on Google
Search on Google images
Inline: Google images
Inline with title: Google images
Inline with title: Google images
Search on http://www.gogole.com or http://Here.com or ask bill@google.com or you might ask bill@google.com.
If all else fails, ask Google
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/links.text 0100755 0000766 0000024 00000001422 13712061256 0022731 0 ustar 00 0000000 0000000 Search on [Google][] Search on [Google] [] Search on [Google] [google] Search on [Google] [Google] Search on [Google images][] Inline: [Google images](http://google.com) Inline with title: [Google images](http://google.com "Title") Inline with title: [Google images]( http://google.com "Title" ) Search onA list item with a blockquote:
This is a blockquote inside a list 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.
other
A list item with a blockquote:
This is a blockquote inside a list item.
A list item with a code block:
<code goes here>
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/list4.html 0100755 0000766 0000024 00000000317 13712061256 0022632 0 ustar 00 0000000 0000000 This is a list:
- one
- two
This is not a list: * one ciao
This is a list:
- one
- two
This is not a list: 1987. one ciao
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/list4.text 0100755 0000766 0000024 00000000200 13712061256 0022641 0 ustar 00 0000000 0000000 This is a list:
* one
* two
This is not a list:
* one
ciao
This is a list:
1. one
1. two
This is not a list:
1987. one
ciao
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists.html 0100755 0000766 0000024 00000002366 13712061256 0022737 0 ustar 00 0000000 0000000
- 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!
-
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.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists.text 0100755 0000766 0000024 00000002173 13712061256 0022753 0 ustar 00 0000000 0000000 * 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!
* 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.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists11.html 0100755 0000766 0000024 00000000020 13712061256 0023062 0 ustar 00 0000000 0000000 - Îνα
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists11.text 0100755 0000766 0000024 00000000012 13712061256 0023103 0 ustar 00 0000000 0000000 - Îνα
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists6.html 0100755 0000766 0000024 00000000001 13712061256 0023005 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists6.text 0100755 0000766 0000024 00000000001 13712061256 0023025 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists7.html 0100755 0000766 0000024 00000000061 13712061256 0023014 0 ustar 00 0000000 0000000 Ciao
- Tab * Tab * Tab
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists7.text 0100755 0000766 0000024 00000000034 13712061256 0023034 0 ustar 00 0000000 0000000 Ciao
* Tab
* Tab
* Tab
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists7b.html 0100755 0000766 0000024 00000000122 13712061256 0023154 0 ustar 00 0000000 0000000
-
a
- a1
- a2
-
b
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists7b.text 0100755 0000766 0000024 00000000030 13712061256 0023172 0 ustar 00 0000000 0000000 * a
* a1
* a2
* b
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists8.html 0100755 0000766 0000024 00000000132 13712061256 0023014 0 ustar 00 0000000 0000000 Here is a paragraph.
- Item 1
- Item 2
- Item 3
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists8.text 0100755 0000766 0000024 00000000074 13712061256 0023041 0 ustar 00 0000000 0000000 Here is a paragraph.
* Item 1
* Item 2
* Item 3
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists9.html 0100755 0000766 0000024 00000000155 13712061256 0023022 0 ustar 00 0000000 0000000
-
Due
- tre
- tre
- tre
-
Due
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists9.text 0100755 0000766 0000024 00000000047 13712061256 0023042 0 ustar 00 0000000 0000000 - Due
1. tre
1. tre
1. tre
- Due
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists_after_paragraph.html 0100755 0000766 0000024 00000001615 13712061256 0026141 0 ustar 00 0000000 0000000 Paragraph, list with no space: * ciao
Paragraph, list with 1 space: * ciao
Paragraph, list with 3 space: * ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space: * ciao
Paragraph (2 spaces after), list with no space:
* ciao
Paragraph (3 spaces after), list with no space:
* ciao
Paragraph with block quote:
Quoted
Paragraph with header:
header
Paragraph with header on two lines:
header
Paragraph with html after
Paragraph with html after, indented: Emphasis
Paragraph with html after, indented: Emphasis tralla Emph
Paragraph with html after, indented: Emphasis *tralla* Emph
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists_after_paragraph.text 0100755 0000766 0000024 00000001356 13712061256 0026163 0 ustar 00 0000000 0000000 Paragraph, list with no space:
* ciao
Paragraph, list with 1 space:
* ciao
Paragraph, list with 3 space:
* ciao
Paragraph, list with 4 spaces:
* ciao
Paragraph, list with 1 tab:
* ciao
Paragraph (1 space after), list with no space:
* ciao
Paragraph (2 spaces after), list with no space:
* ciao
Paragraph (3 spaces after), list with no space:
* ciao
Paragraph with block quote:
> Quoted
Paragraph with header:
### header ###
Paragraph with header on two lines:
header
------
Paragraph with html after
Paragraph with html after, indented:
Emphasis
Paragraph with html after, indented: Emphasis *tralla* Emph
Paragraph with html after, indented: Emphasis *tralla* Emph
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists_ol.html 0100755 0000766 0000024 00000002573 13712061256 0023431 0 ustar 00 0000000 0000000
- 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.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/lists_ol.text 0100755 0000766 0000024 00000002310 13712061256 0023436 0 ustar 00 0000000 0000000 1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
2. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
3. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
3. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
4. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
Ancora
1. This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.
ATTENZIONE!
- Uno
- Due
1. tre
1. tre
1. tre
- Due
2. 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.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/loss.html 0100755 0000766 0000024 00000000007 13712061256 0022547 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/loss.text 0100755 0000766 0000024 00000000012 13712061256 0022563 0 ustar 00 0000000 0000000
123
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/misc_sw.html 0100755 0000766 0000024 00000010320 13712061256 0023232 0 ustar 00 0000000 0000000 General
- Operating System : Mac OS X: heaven, after the purgatory of Linux and the hell of Windows.
- Browser: Firefox. On a Mac, Camino.
- Email: GMail, “search, don’t sort” really works.
- Text Editor: TextMate, you have to buy it, but it’s worth every penny. There are rumours that it’s been converting (recovering) Emacs users (addicts). Unfortunately, it’s Mac only. An alternative is jedit (GPL, Java).
Development
-
-
Source code control system: ditch CVS for subversion.
-
Project management: Trac tracks everything.
-
Scripting language: Ruby is Japanese pragmatism (and has a poignant guide). Python, you say? Python is too academic and snob:
$ python
Python 2.4.1 (\#1, Jun 4 2005, 00:54:33)
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
'Use Ctrl-D (i.e. EOF) to exit.'
>>> quit
'Use Ctrl-D (i.e. EOF) to exit.'
-
Java IDE: JBuilder is great software and has a free version (IMHO better than Eclipse). Java is not a pain anymore since it gained generics and got opensourced.
-
Mark-up language: HTML is so 2001, why don’t you take at look at Markdown? Look at the source of this page.
-
C++ libraries: * QT for GUIs. * GSL for math. * Magick++ for manipulating images. * Cairo for creating PDFs. * Boost for just about everything else.
Research
- Writing papers: LaTeX
- Writing papers & enjoying the process: LyX
- Handsome figures in your papers: xfig or, better, jfig.
- The occasional presentation with many graphical content: OpenOffice Impress (using the OOOlatex plugin); the alternative is PowerPoint with the TexPoint plugin.
- Managing BibTeX: jabref: multi-platform, for all your bibtex needs.
- IEEExplore and BibTeX: convert citations using BibConverter.
Cool websites
- Best site in the wwworld: Wikipedia
- Mutopia for sheet music; the Gutenberg Project for books; LiberLiber for books in italian.
- Blogs: Bloglines
- Sharing photos: flickr exposes an API you can use.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/misc_sw.text 0100755 0000766 0000024 00000010544 13712061256 0023262 0 ustar 00 0000000 0000000 Subject: Software not painful to use
Subject_short: painless software
Topic: /misc/coolsw
Archive: no
Date: Nov 20 2006
Order: -9.5
inMenu: true
### General ###
* *Operating System* : [Mac OS X][switch]: heaven, after the purgatory of Linux
and the hell of Windows.
* *Browser*: [Firefox][firefox]. On a Mac, [Camino][camino].
* *Email*: [GMail][gmail], "search, don't sort" really works.
* *Text Editor*: [TextMate][textmate], you have to buy it, but it's worth every
penny. There are rumours that it's been converting (recovering) Emacs
users (addicts). Unfortunately, it's Mac only. An alternative is
[jedit][jedit] (GPL, Java).
### Development ###
* *Build system*: [cmake][cmake], throw the [autotools][autotools] away.
* *Source code control system*: ditch CVS for [subversion][subversion].
* *Project management*: [Trac][trac] tracks everything.
* *Scripting language*: [Ruby][ruby] is Japanese pragmatism (and has a [poignant][poignant] guide).
Python, you say? Python is too academic and snob:
$ python
Python 2.4.1 (\#1, Jun 4 2005, 00:54:33)
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
'Use Ctrl-D (i.e. EOF) to exit.'
>>> quit
'Use Ctrl-D (i.e. EOF) to exit.'
* *Java IDE*: [JBuilder][jbuilder] is great software and has a free version (IMHO better than Eclipse). Java
is not a pain anymore since it gained [generics][java-generics] and got opensourced.
* *Mark-up language*: HTML is so 2001, why don't you take at look at [Markdown][markdown]? [Look at the source of this page](data/misc_markdown.png).
* *C++ libraries*:
* [QT][qt] for GUIs.
* [GSL][gsl] for math.
* [Magick++][magick] for manipulating images.
* [Cairo][cairo] for creating PDFs.
* [Boost][boost] for just about everything else.
### Research ###
* *Writing papers*: [LaTeX][latex]
* *Writing papers & enjoying the process*: [LyX][lyx]
* *Handsome figures in your papers*: [xfig][xfig] or, better, [jfig][jfig].
* *The occasional presentation with many graphical content*:
[OpenOffice Impress][impress] (using the [OOOlatex plugin][ooolatex]);
the alternative is PowerPoint with the [TexPoint][texpoint] plugin.
* *Managing BibTeX*: [jabref][jabref]: multi-platform, for all your bibtex needs.
* *IEEExplore and BibTeX*: convert citations using [BibConverter][bibconverter].
### Cool websites ###
* *Best site in the wwworld*: [Wikipedia][wikipedia]
* [Mutopia][mutopia] for sheet music; [the Gutenberg Project][gutenberg] for books; [LiberLiber][liberliber] for books in italian.
* *Blogs*: [Bloglines][bloglines]
* *Sharing photos*: [flickr][flickr] exposes an API you can use.
[firefox]: http://getfirefox.com/
[gmail]: http://gmail.com/
[bloglines]: http://bloglines.com/
[wikipedia]: http://en.wikipedia.org/
[ruby]: http://www.ruby-lang.org/
[poignant]: http://poignantguide.net/ruby/
[webgen]: http://webgen.rubyforge.org/
[markdown]: http://daringfireball.net/projects/markdown/
[latex]: http://en.wikipedia.org/wiki/LaTeX
[lyx]: http://www.lyx.org
[impress]: http://www.openoffice.org/product/impress.html
[ooolatex]: http://ooolatex.sourceforge.net/
[texpoint]: http://texpoint.necula.org/
[jabref]: http://jabref.sourceforge.net/
[camino]: http://www.caminobrowser.org/
[switch]: http://www.apple.com/getamac/
[textmate]: http://www.apple.com/getamac/
[cmake]: http://www.cmake.org/
[xfig]: http://www.xfig.org/
[jfig]: http://tams-www.informatik.uni-hamburg.de/applets/jfig/
[subversion]: http://subversion.tigris.org
[jbuilder]: http://www.borland.com/us/products/jbuilder/index.html
[flickr]: http://www.flickr.com/
[myflickr]: http://www.flickr.com/photos/censi
[bibconverter]: http://www.bibconverter.net/ieeexplore/
[autotools]: http://sources.redhat.com/autobook/
[jedit]: http://www.jedit.org/
[qt]: http://www.trolltech.no/
[gsl]: http://www.gnu.org/software/gsl/
[magick]: http://www.imagemagick.org/Magick++/
[cairo]: http://cairographics.org/
[boost]: http://www.boost.org/
[markdown]: http://en.wikipedia.org/wiki/Markdown
[trac]: http://trac.edgewall.org/
[mutopia]: http://www.mutopiaproject.org/
[liberliber]: http://www.liberliber.it/
[gutenberg]: http://www.gutenberg.org/
[java-generics]: http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/olist.html 0100755 0000766 0000024 00000000116 13712061256 0022722 0 ustar 00 0000000 0000000 This is a list:
- one
- two
- three
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/olist.text 0100755 0000766 0000024 00000000050 13712061256 0022737 0 ustar 00 0000000 0000000 This is a list:
2. one
2. two
3. three
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/one.html 0100755 0000766 0000024 00000000020 13712061256 0022343 0 ustar 00 0000000 0000000 One line
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/one.text 0100755 0000766 0000024 00000000011 13712061256 0022363 0 ustar 00 0000000 0000000 One line
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/paragraph.html 0100755 0000766 0000024 00000000021 13712061256 0023530 0 ustar 00 0000000 0000000 Paragraph
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/paragraph.text 0100755 0000766 0000024 00000000013 13712061256 0023551 0 ustar 00 0000000 0000000 Paragraph
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/paragraphs.html 0100755 0000766 0000024 00000000152 13712061256 0023720 0 ustar 00 0000000 0000000 Paragraph 1
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br->
Paragraph 5
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/paragraphs.text 0100755 0000766 0000024 00000000122 13712061256 0023735 0 ustar 00 0000000 0000000 Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph Br->
Paragraph 5
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/smartypants.html 0100755 0000766 0000024 00000001221 13712061256 0024153 0 ustar 00 0000000 0000000 'Twas a "test" to 'remember' in the '90s.
‘Twas a “test” to ‘remember’ in the ’90s.
It was --- in a sense --- really... interesting.
It was — in a sense — really… interesting.
I -- too -- met << some curly quotes >> there or <<here>>No space.
I – too – met « some curly quotes » there or «here»No space.
She was 6\"12\'.
She was 6"12'.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/smartypants.text 0100755 0000766 0000024 00000000552 13712061256 0024201 0 ustar 00 0000000 0000000 'Twas a "test" to 'remember' in the '90s.
'Twas a "test" to 'remember' in the '90s.
It was --- in a sense --- really... interesting.
It was --- in a sense --- really... interesting.
I -- too -- met << some curly quotes >> there or <>No space.
I -- too -- met << some curly quotes >> there or <>No space.
She was 6\"12\'.
> She was 6\"12\'.
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/syntax_hl.html 0100755 0000766 0000024 00000000571 13712061256 0023606 0 ustar 00 0000000 0000000 This is ruby code:
require 'maruku'
puts Maruku.new($stdin).to_html
This is ruby code:
require 'maruku'
puts Maruku.new($stdin).to_html
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/syntax_hl.text 0100755 0000766 0000024 00000000261 13712061256 0023622 0 ustar 00 0000000 0000000 This is ruby code:
require 'maruku'
puts Maruku.new($stdin).to_html
This is ruby code:
require 'maruku'
{: lang=ruby html_use_syntax}
puts Maruku.new($stdin).to_html
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/table_attributes.html 0100755 0000766 0000024 00000000471 13712061256 0025131 0 ustar 00 0000000 0000000 h h c1 c2
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/table_attributes.text 0100755 0000766 0000024 00000000300 13712061256 0025140 0 ustar 00 0000000 0000000
h | h
----------|--
{:t} c1 | c2
{: summary="Table summary" .class1 style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em cellpadding=4px}
{:t: scope="row"}
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/test.html 0100755 0000766 0000024 00000000057 13712061256 0022553 0 ustar 00 0000000 0000000 $ python
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/test.text 0100755 0000766 0000024 00000000037 13712061256 0022571 0 ustar 00 0000000 0000000
$ python
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/wrapping.html 0100755 0000766 0000024 00000001127 13712061256 0023422 0 ustar 00 0000000 0000000 Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Break:
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet.
- Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet Lorem ipsum Break:
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
- Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/wrapping.text 0100755 0000766 0000024 00000001066 13712061256 0023444 0 ustar 00 0000000 0000000 Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Break:
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet.
* Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
Lorem ipsum Break:
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
* Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml.html 0100755 0000766 0000024 00000000353 13712061256 0022373 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml.text 0100755 0000766 0000024 00000000372 13712061256 0022414 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml2.html 0100755 0000766 0000024 00000000013 13712061256 0022446 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml2.text 0100755 0000766 0000024 00000000013 13712061256 0022466 0 ustar 00 0000000 0000000
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml3.html 0100755 0000766 0000024 00000000075 13712061256 0022457 0 ustar 00 0000000 0000000 Blah
em
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml3.text 0100755 0000766 0000024 00000000110 13712061256 0022465 0 ustar 00 0000000 0000000
Blah
*em*
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml_instruction.html 0100755 0000766 0000024 00000000220 13712061256 0025025 0 ustar 00 0000000 0000000 noTarget?>
Targets noTarget?>
Inside: last
markdown-0.3.0/tests/fixtures/docs-maruku-unittest/xml_instruction.text 0100755 0000766 0000024 00000000215 13712061256 0025051 0 ustar 00 0000000 0000000
noTarget?>
Targets noTarget?>
Inside: last
markdown-0.3.0/tests/fixtures/docs-php-markdown/Backslash_escapes.html 0100755 0000766 0000024 00000000234 13712061256 0024415 0 ustar 00 0000000 0000000 Tricky combinaisons:
backslash with \-- two dashes
backslash with \> greater than
\[test](not a link)
\*no emphasis*
markdown-0.3.0/tests/fixtures/docs-php-markdown/Backslash_escapes.text 0100755 0000766 0000024 00000000176 13712061256 0024442 0 ustar 00 0000000 0000000 Tricky combinaisons:
backslash with \\-- two dashes
backslash with \\> greater than
\\\[test](not a link)
\\\*no emphasis* markdown-0.3.0/tests/fixtures/docs-php-markdown/Code_Spans.html 0100755 0000766 0000024 00000000217 13712061256 0023036 0 ustar 00 0000000 0000000 From <!-- to -->
on two lines.
From <!--
to -->
on three lines.
markdown-0.3.0/tests/fixtures/docs-php-markdown/Code_Spans.text 0100755 0000766 0000024 00000000111 13712061256 0023047 0 ustar 00 0000000 0000000 From ``
on two lines.
From ``
on three lines.
markdown-0.3.0/tests/fixtures/docs-php-markdown/Code_block_in_a_list_item.html 0100755 0000766 0000024 00000000172 13712061256 0026103 0 ustar 00 0000000 0000000
List Item:
code block
with a blank line
within a list item.