diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-02-12 15:27:59 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-02-12 15:27:59 -0500 |
commit | 8f62bb0a6ce46055a2decbae6b33d53922c758b8 (patch) | |
tree | 7f7d71461ad32817a86d48083934fbb972df38ed /tests/misc | |
parent | ee6fb73b160721e666e72a0921135d6abae19fa4 (diff) | |
parent | 6d30c9ff6b43be9f013e6ea129ff7611c4a6d55b (diff) | |
download | markdown-8f62bb0a6ce46055a2decbae6b33d53922c758b8.tar.gz markdown-8f62bb0a6ce46055a2decbae6b33d53922c758b8.tar.bz2 markdown-8f62bb0a6ce46055a2decbae6b33d53922c758b8.zip |
Merged tests branch
Diffstat (limited to 'tests/misc')
137 files changed, 0 insertions, 1620 deletions
diff --git a/tests/misc/CRLF_line_ends.html b/tests/misc/CRLF_line_ends.html deleted file mode 100644 index a72b1ca..0000000 --- a/tests/misc/CRLF_line_ends.html +++ /dev/null @@ -1,4 +0,0 @@ -<p>foo</p> -<div> -bar -</div>
\ No newline at end of file diff --git a/tests/misc/CRLF_line_ends.txt b/tests/misc/CRLF_line_ends.txt deleted file mode 100644 index 7d5e324..0000000 --- a/tests/misc/CRLF_line_ends.txt +++ /dev/null @@ -1,5 +0,0 @@ -foo
-
-<div>
-bar
-</div>
diff --git a/tests/misc/adjacent-headers.html b/tests/misc/adjacent-headers.html deleted file mode 100644 index bd171aa..0000000 --- a/tests/misc/adjacent-headers.html +++ /dev/null @@ -1,2 +0,0 @@ -<h1>this is a huge header</h1> -<h2>this is a smaller header</h2>
\ No newline at end of file diff --git a/tests/misc/adjacent-headers.txt b/tests/misc/adjacent-headers.txt deleted file mode 100644 index 0e626b9..0000000 --- a/tests/misc/adjacent-headers.txt +++ /dev/null @@ -1,2 +0,0 @@ -# this is a huge header # -## this is a smaller header ## diff --git a/tests/misc/amp-in-url.html b/tests/misc/amp-in-url.html deleted file mode 100644 index 2170a54..0000000 --- a/tests/misc/amp-in-url.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="http://www.freewisdom.org/this&that">link</a></p>
\ No newline at end of file diff --git a/tests/misc/amp-in-url.txt b/tests/misc/amp-in-url.txt deleted file mode 100644 index 471106e..0000000 --- a/tests/misc/amp-in-url.txt +++ /dev/null @@ -1 +0,0 @@ -[link](http://www.freewisdom.org/this&that) diff --git a/tests/misc/ampersand.html b/tests/misc/ampersand.html deleted file mode 100644 index 94ed80c..0000000 --- a/tests/misc/ampersand.html +++ /dev/null @@ -1,2 +0,0 @@ -<p>&</p> -<p>AT&T</p>
\ No newline at end of file diff --git a/tests/misc/ampersand.txt b/tests/misc/ampersand.txt deleted file mode 100644 index 367d32c..0000000 --- a/tests/misc/ampersand.txt +++ /dev/null @@ -1,5 +0,0 @@ -& - -AT&T - - diff --git a/tests/misc/arabic.html b/tests/misc/arabic.html deleted file mode 100644 index 55991de..0000000 --- a/tests/misc/arabic.html +++ /dev/null @@ -1,27 +0,0 @@ -<h1>بايثون</h1> -<p><strong>بايثون</strong> لغة برمجة حديثة بسيطة، واضحة، سريعة ، تستخدم أسلوب البرمجة الكائنية (OOP) وقابلة للتطوير بالإضافة إلى أنها مجانية و مفتوحة المصدر. صُنفت بالأساس كلغة تفسيرية ، بايثون مصممة أصلاً للأداء بعض المهام الخاصة أو المحدودة. إلا أنه يمكن استخدامها بايثون لإنجاز المشاريع الضخمه كأي لغة برمجية أخرى، غالباً ما يُنصح المبتدئين في ميدان البرمجة بتعلم هذه اللغة لأنها من بين أسهل اللغات البرمجية تعلماً.</p> -<p>نشأت بايثون في مركز CWI (مركز العلوم والحاسب الآلي) بأمستردام على يد جويدو فان رُزوم. تم تطويرها بلغة C. أطلق فان رُزوم اسم "بايثون" على لغته تعبيرًا عن إعجابه بفِرقَة مسرحية هزلية شهيرة من بريطانيا، كانت تطلق على نفسها اسم مونتي بايثون Monty Python.</p> -<p>تتميز بايثون بمجتمعها النشط ، كما أن لها الكثير من المكتبات البرمجية ذات الأغراض الخاصة والتي برمجها أشخاص من مجتمع هذه اللغة ، مثلاً مكتبة PyGame التي توفر مجموعه من الوظائف من اجل برمجة الالعاب. ويمكن لبايثون التعامل مع العديد من أنواع قواعد البيانات مثل MySQL وغيره.</p> -<h2>أمثلة</h2> -<p>مثال Hello World!</p> -<pre><code>print "Hello World!" -</code></pre> -<p>مثال لاستخراج المضروب Factorial :</p> -<pre><code>num = 1 -x = raw_input('Insert the number please ') -x = int(x) - -if x > 69: - print 'Math Error !' -else: - while x > 1: - num *= x - x = x-1 - - print num -</code></pre> -<h2>وصلات خارجية</h2> -<ul> -<li><a href="http://www.python.org">الموقع الرسمي للغة بايثون</a></li> -</ul> -<p>بذرة حاس </p>
\ No newline at end of file diff --git a/tests/misc/arabic.txt b/tests/misc/arabic.txt deleted file mode 100644 index ba2fef4..0000000 --- a/tests/misc/arabic.txt +++ /dev/null @@ -1,37 +0,0 @@ - -بايثون -===== - -**بايثون** لغة برمجة حديثة بسيطة، واضحة، سريعة ، تستخدم أسلوب البرمجة الكائنية (OOP) وقابلة للتطوير بالإضافة إلى أنها مجانية و مفتوحة المصدر. صُنفت بالأساس كلغة تفسيرية ، بايثون مصممة أصلاً للأداء بعض المهام الخاصة أو المحدودة. إلا أنه يمكن استخدامها بايثون لإنجاز المشاريع الضخمه كأي لغة برمجية أخرى، غالباً ما يُنصح المبتدئين في ميدان البرمجة بتعلم هذه اللغة لأنها من بين أسهل اللغات البرمجية تعلماً. - -نشأت بايثون في مركز CWI (مركز العلوم والحاسب الآلي) بأمستردام على يد جويدو فان رُزوم. تم تطويرها بلغة C. أطلق فان رُزوم اسم "بايثون" على لغته تعبيرًا عن إعجابه بفِرقَة مسرحية هزلية شهيرة من بريطانيا، كانت تطلق على نفسها اسم مونتي بايثون Monty Python. - -تتميز بايثون بمجتمعها النشط ، كما أن لها الكثير من المكتبات البرمجية ذات الأغراض الخاصة والتي برمجها أشخاص من مجتمع هذه اللغة ، مثلاً مكتبة PyGame التي توفر مجموعه من الوظائف من اجل برمجة الالعاب. ويمكن لبايثون التعامل مع العديد من أنواع قواعد البيانات مثل MySQL وغيره. - -##أمثلة -مثال Hello World! - - print "Hello World!" - - -مثال لاستخراج المضروب Factorial : - - num = 1 - x = raw_input('Insert the number please ') - x = int(x) - - if x > 69: - print 'Math Error !' - else: - while x > 1: - num *= x - x = x-1 - - print num - - - -##وصلات خارجية -* [الموقع الرسمي للغة بايثون](http://www.python.org) - - بذرة حاس diff --git a/tests/misc/attributes2.html b/tests/misc/attributes2.html deleted file mode 100644 index 5971cc8..0000000 --- a/tests/misc/attributes2.html +++ /dev/null @@ -1,6 +0,0 @@ -<p id="TABLE.OF.CONTENTS" /> -<ul> -<li id="TABLEOFCONTENTS" /> -</ul> -<p id="TABLEOFCONTENTS">Or in the middle of the text </p> -<p id="tableofcontents" />
\ No newline at end of file diff --git a/tests/misc/attributes2.txt b/tests/misc/attributes2.txt deleted file mode 100644 index d635cb2..0000000 --- a/tests/misc/attributes2.txt +++ /dev/null @@ -1,10 +0,0 @@ -{@id=TABLE.OF.CONTENTS} - - -* {@id=TABLEOFCONTENTS} - - -Or in the middle of the text {@id=TABLEOFCONTENTS} - -{@id=tableofcontents} - diff --git a/tests/misc/autolinks_with_asterisks.html b/tests/misc/autolinks_with_asterisks.html deleted file mode 100644 index 7cb852f..0000000 --- a/tests/misc/autolinks_with_asterisks.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="http://some.site/weird*url*thing">http://some.site/weird*url*thing</a></p>
\ No newline at end of file diff --git a/tests/misc/autolinks_with_asterisks.txt b/tests/misc/autolinks_with_asterisks.txt deleted file mode 100644 index 24de5d9..0000000 --- a/tests/misc/autolinks_with_asterisks.txt +++ /dev/null @@ -1,2 +0,0 @@ -<http://some.site/weird*url*thing> - diff --git a/tests/misc/autolinks_with_asterisks_russian.html b/tests/misc/autolinks_with_asterisks_russian.html deleted file mode 100644 index 64cd635..0000000 --- a/tests/misc/autolinks_with_asterisks_russian.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="http://some.site/нечто*очень*странное">http://some.site/нечто*очень*странное</a></p>
\ No newline at end of file diff --git a/tests/misc/autolinks_with_asterisks_russian.txt b/tests/misc/autolinks_with_asterisks_russian.txt deleted file mode 100644 index 74465f1..0000000 --- a/tests/misc/autolinks_with_asterisks_russian.txt +++ /dev/null @@ -1,3 +0,0 @@ -<http://some.site/нечто*очень*странное> - - diff --git a/tests/misc/backtick-escape.html b/tests/misc/backtick-escape.html deleted file mode 100644 index 07f5115..0000000 --- a/tests/misc/backtick-escape.html +++ /dev/null @@ -1,3 +0,0 @@ -<p>\`This should not be in code.\` -`This also should not be in code.` -`And finally this should not be in code.`</p>
\ No newline at end of file diff --git a/tests/misc/backtick-escape.txt b/tests/misc/backtick-escape.txt deleted file mode 100644 index b4d80b2..0000000 --- a/tests/misc/backtick-escape.txt +++ /dev/null @@ -1,3 +0,0 @@ -\\`This should not be in code.\\` -\`This also should not be in code.\` -\`And finally this should not be in code.` diff --git a/tests/misc/benchmark.dat b/tests/misc/benchmark.dat deleted file mode 100644 index ac0334c..0000000 --- a/tests/misc/benchmark.dat +++ /dev/null @@ -1,56 +0,0 @@ -construction:0.000000:0.000000 -CRLF_line_ends:0.020000:0.000000 -adjacent-headers:0.020000:0.000000 -amp-in-url:0.020000:0.000000 -ampersand:0.010000:0.000000 -arabic:0.110000:0.000000 -attributes2:0.020000:0.000000 -bidi:0.310000:0.000000 -blank-block-quote:0.010000:0.000000 -blockquote:0.090000:0.000000 -blockquote-hr:0.060000:0.000000 -bold_links:0.020000:0.000000 -br:0.040000:0.000000 -bracket_re:7.490000:0.000000 -code-first-line:0.020000:0.000000 -comments:0.040000:0.000000 -div:0.040000:0.000000 -email:0.030000:0.000000 -funky-list:0.060000:0.000000 -h1:0.040000:0.000000 -hash:0.040000:0.000000 -headers:0.060000:0.000000 -hline:0.020000:0.000000 -html:0.090000:0.000000 -image:0.040000:0.000000 -image-2:0.060000:0.000000 -image_in_links:0.060000:0.000000 -inside_html:0.040000:0.000000 -japanese:0.150000:0.000000 -lazy-block-quote:0.050000:0.000000 -lists:0.110000:0.000000 -lists2:0.040000:0.000000 -lists3:0.040000:0.000000 -lists4:0.050000:0.000000 -lists5:0.070000:0.000000 -markup-inside-p:0.080000:0.000000 -mismatched-tags:0.070000:0.000000 -more_comments:0.060000:0.000000 -multi-line-tags:0.080000:0.000000 -multi-paragraph-block-quote:0.070000:0.000000 -multi-test:0.150000:0.000000 -multiline-comments:0.090000:0.000000 -normalize:0.060000:0.000000 -numeric-entity:0.090000:0.000000 -php:0.080000:0.000000 -pre:0.080000:0.000000 -russian:0.200000:0.000000 -some-test:0.200000:0.000000 -span:0.140000:0.000000 -strong-with-underscores:0.090000:0.000000 -stronintags:0.160000:0.000000 -tabs-in-lists:0.170000:0.000000 -two-spaces:0.160000:0.000000 -uche:0.150000:0.000000 -underscores:0.120000:0.000000 -url_spaces:0.120000:0.000000 diff --git a/tests/misc/bidi.html b/tests/misc/bidi.html deleted file mode 100644 index ffe04dc..0000000 --- a/tests/misc/bidi.html +++ /dev/null @@ -1,39 +0,0 @@ -<p><strong>Python</strong>(パイソン)は、<a href="http://en.wikipedia.org/wiki/Guido_van_Rossum">Guido van Rossum</a> によって作られたオープンソースのオブジェクト指向スクリプト言語。<a href="http://ja.wikipedia.org/wiki/Perl">Perl</a>とともに欧米で広く普及している。イギリスのテレビ局 BBC が製作したコメディ番組『空飛ぶモンティ・パイソン』にちなんで名付けられた。 (Pythonには、爬虫類のニシキヘビの意味があり、Python言語のマスコットやアイコンとして使われることがある。)</p> -<p>|||||||||||||||||||||||||||||THIS SHOULD BE LTR|||||||||||||||||||||||||</p> -<p dir="rtl">|||||||||||||||||||||||||||||THIS SHOULD BE RTL||||||||||||||||||||||||| </p> -<p dir="ltr">(<strong>بايثون</strong> لغة برمجة حديثة بسيطة، واضحة، سريعة ، تستخدم أسلوب البرمجة الكائنية (THIS SHOULD BE LTR ) وقابلة للتطوير بالإضافة إلى أنها مجانية و مفتوح </p> -<p>پایتون زبان برنامهنویسی تفسیری و سطح بالا ، شیگرا و یک زبان برنامهنویسی تفسیری سمت سرور قدرتمند است که توسط گیدو ون روسوم در سال ۱۹۹۰ ساخته شد. این زبان در ویژگیها شبیه پرل، روبی، اسکیم، اسمالتاک و تیسیال است و از مدیریت خودکار حافظه استفاده میکند</p> -<p>Python,是一种面向对象的、直譯式的计算机程序设计语言,也是一种功能强大而完善的通用型语言,已经具有十多年的发展历史,成熟且稳定。</p> -<p>ބްލޫ ވޭލްގެ ދޫ މަތީގައި އެއްފަހަރާ 50 މީހުންނަށް ތިބެވިދާނެވެ. ބޮޑު މަހުގެ ދުލަކީ އެހާމެ ބޮޑު އެއްޗެކެވެ.</p> -<p><strong>உருது</strong> 13ஆம் நூற்றாண்டில் உருவான ஒரு இந்தோ-ஐரோப்பிய மொழியாகும். உருது, ஹிந்தியுடன் சேர்த்து "ஹிந்துஸ்தானி" என அழைக்கப்படுகின்றது. மண்டரின், ஆங்கிலம் ஆகியவற்றுக்கு அடுத்தபடியாக மூன்றாவது கூடிய அளவு மக்களால் புரிந்து கொள்ளப்படக்கூடியது ஹிந்துஸ்தானியேயாகும். தாய் மொழியாகப் பேசுபவர்கள் எண்ணிக்கையின் அடிப்படையில் உருது உலகின் 20 ஆவது பெரிய மொழியாகும். 6 கோடி மக்கள் இதனைத் தாய் மொழியாகக் கொண்டுள்ளார்கள். இரண்டாவது மொழியாகக் கொண்டுள்ளவர்கள் உட்பட 11 கோடிப் பேர் இதனைப் பேசுகிறார்கள். உருது பாகிஸ்தானின் அரசகரும மொழியாகவும், இந்தியாவின் அரசகரும மொழிகளுள் ஒன்றாகவும் விளங்குகிறது.</p> -<p>اردو ہندوآریائی زبانوں کی ہندويورپی شاخ کی ایک زبان ہے جو تيرھويں صدی ميں بر صغير ميں پيدا ہوئی ـ اردو پاکستان کی سرکاری زبان ہے اور بھارت کی سرکاری زبانوں ميں سے ايک ہے۔ اردو بھارت ميں 5 کروڑ اور پاکستان ميں 1 کروڑ لوگوں کی مادری زبان ہے مگر اسے بھارت اور پاکستان کے تقریباً 50 کروڑ لوگ بول اور سمجھ سکتے ھیں ۔ جن میں سے تقریباً 10.5 کروڑ لوگ اسے باقاعدہ بولتے ھیں۔</p> -<h1>بايثون</h1> -<p><strong>بايثون</strong> لغة برمجة حديثة بسيطة، واضحة، سريعة ، تستخدم أسلوب البرمجة الكائنية (OOP) وقابلة للتطوير بالإضافة إلى أنها مجانية و مفتوحة المصدر. صُنفت بالأساس كلغة تفسيرية ، بايثون مصممة أصلاً للأداء بعض المهام الخاصة أو المحدودة. إلا أنه يمكن استخدامها بايثون لإنجاز المشاريع الضخمه كأي لغة برمجية أخرى، غالباً ما يُنصح المبتدئين في ميدان البرمجة بتعلم هذه اللغة لأنها من بين أسهل اللغات البرمجية تعلماً.</p> -<p>|||||||||||||||||||||||||||||THIS SHOULD BE RTL|||||||||||||||||||||||||</p> -<p>(نشأت بايثون في مركز CWI (مركز العلوم والحاسب الآلي) بأمستردام على يد جويدو فان رُزوم. تم تطويرها بلغة C. أطلق فان رُزوم اسم "بايثون" على لغته تعبيرًا عن إعجابه بفِرقَة مسرحية هزلية شهيرة من بريطانيا، كانت تطلق على نفسها اسم مونتي بايثون Monty Python.</p> -<p>تتميز بايثون بمجتمعها النشط ، كما أن لها الكثير من المكتبات البرمجية ذات الأغراض الخاصة والتي برمجها أشخاص من مجتمع هذه اللغة ، مثلاً مكتبة PyGame التي توفر مجموعه من الوظائف من اجل برمجة الالعاب. ويمكن لبايثون التعامل مع العديد من أنواع قواعد البيانات مثل MySQL وغيره.</p> -<h2>أمثلة</h2> -<p>مثال Hello World!</p> -<pre><code>print "Hello World!" -</code></pre> -<p>مثال لاستخراج المضروب Factorial :</p> -<pre><code>num = 1 -x = raw_input('Insert the number please ') -x = int(x) - -if x > 69: - print 'Math Error !' -else: - while x > 1: - num *= x - x = x-1 - - print num -</code></pre> -<h2>وصلات خارجية</h2> -<ul> -<li><a href="http://www.python.org">الموقع الرسمي للغة بايثون</a></li> -</ul> -<p>بذرة حاس </p> -<p><strong>Недвард «Нед» Фландерс</strong> (Nedward «Ned» Flanders) — вымышленный персонаж мультсериала «[Симпсоны][]», озвученный Гарри Ширером. Он и его семья живут по соседству от семьи Симпсонов. Набожный христианин, Нед является одним из столпов морали Спрингфилда. В эпизоде «Alone Again, Natura-Diddily» он овдовел, его жена Мод погибла в результате несчастного случая. </p> -<p>Нед был одним из первых персонажей в мультсериале, который не был членом семьи Симпсонов. Начиная с первых серий, он регулярно появляется в «Симпсонах». Считается, что Нед Фландерс был назван в честь улицы <em>Northeast Flanders St.</em> в <a href="http://www.portland.gov">Портленде</a>, Орегон, родном городе создателя мультсериала Мэтта Грейнинга]]. Надпись на указателе улицы <em>NE Flanders St.</em> хулиганы часто исправляли на <em>NED Flanders St.</em></p>
\ No newline at end of file diff --git a/tests/misc/bidi.txt b/tests/misc/bidi.txt deleted file mode 100644 index f11ff1c..0000000 --- a/tests/misc/bidi.txt +++ /dev/null @@ -1,68 +0,0 @@ -**Python**(パイソン)は、[Guido van Rossum](http://en.wikipedia.org/wiki/Guido_van_Rossum) によって作られたオープンソースのオブジェクト指向スクリプト言語。[Perl](http://ja.wikipedia.org/wiki/Perl)とともに欧米で広く普及している。イギリスのテレビ局 BBC が製作したコメディ番組『空飛ぶモンティ・パイソン』にちなんで名付けられた。 (Pythonには、爬虫類のニシキヘビの意味があり、Python言語のマスコットやアイコンとして使われることがある。) - -|||||||||||||||||||||||||||||THIS SHOULD BE LTR||||||||||||||||||||||||| - -|||||||||||||||||||||||||||||THIS SHOULD BE RTL||||||||||||||||||||||||| {@dir=rtl} - - -(**بايثون** لغة برمجة حديثة بسيطة، واضحة، سريعة ، تستخدم أسلوب البرمجة الكائنية (THIS SHOULD BE LTR ) وقابلة للتطوير {@dir=ltr} بالإضافة إلى أنها مجانية و مفتوح - - - - - -پایتون زبان برنامهنویسی تفسیری و سطح بالا ، شیگرا و یک زبان برنامهنویسی تفسیری سمت سرور قدرتمند است که توسط گیدو ون روسوم در سال ۱۹۹۰ ساخته شد. این زبان در ویژگیها شبیه پرل، روبی، اسکیم، اسمالتاک و تیسیال است و از مدیریت خودکار حافظه استفاده میکند - -Python,是一种面向对象的、直譯式的计算机程序设计语言,也是一种功能强大而完善的通用型语言,已经具有十多年的发展历史,成熟且稳定。 - -ބްލޫ ވޭލްގެ ދޫ މަތީގައި އެއްފަހަރާ 50 މީހުންނަށް ތިބެވިދާނެވެ. ބޮޑު މަހުގެ ދުލަކީ އެހާމެ ބޮޑު އެއްޗެކެވެ. - -**உருது** 13ஆம் நூற்றாண்டில் உருவான ஒரு இந்தோ-ஐரோப்பிய மொழியாகும். உருது, ஹிந்தியுடன் சேர்த்து "ஹிந்துஸ்தானி" என அழைக்கப்படுகின்றது. மண்டரின், ஆங்கிலம் ஆகியவற்றுக்கு அடுத்தபடியாக மூன்றாவது கூடிய அளவு மக்களால் புரிந்து கொள்ளப்படக்கூடியது ஹிந்துஸ்தானியேயாகும். தாய் மொழியாகப் பேசுபவர்கள் எண்ணிக்கையின் அடிப்படையில் உருது உலகின் 20 ஆவது பெரிய மொழியாகும். 6 கோடி மக்கள் இதனைத் தாய் மொழியாகக் கொண்டுள்ளார்கள். இரண்டாவது மொழியாகக் கொண்டுள்ளவர்கள் உட்பட 11 கோடிப் பேர் இதனைப் பேசுகிறார்கள். உருது பாகிஸ்தானின் அரசகரும மொழியாகவும், இந்தியாவின் அரசகரும மொழிகளுள் ஒன்றாகவும் விளங்குகிறது. - -اردو ہندوآریائی زبانوں کی ہندويورپی شاخ کی ایک زبان ہے جو تيرھويں صدی ميں بر صغير ميں پيدا ہوئی ـ اردو پاکستان کی سرکاری زبان ہے اور بھارت کی سرکاری زبانوں ميں سے ايک ہے۔ اردو بھارت ميں 5 کروڑ اور پاکستان ميں 1 کروڑ لوگوں کی مادری زبان ہے مگر اسے بھارت اور پاکستان کے تقریباً 50 کروڑ لوگ بول اور سمجھ سکتے ھیں ۔ جن میں سے تقریباً 10.5 کروڑ لوگ اسے باقاعدہ بولتے ھیں۔ - -بايثون -===== - -**بايثون** لغة برمجة حديثة بسيطة، واضحة، سريعة ، تستخدم أسلوب البرمجة الكائنية (OOP) وقابلة للتطوير بالإضافة إلى أنها مجانية و مفتوحة المصدر. صُنفت بالأساس كلغة تفسيرية ، بايثون مصممة أصلاً للأداء بعض المهام الخاصة أو المحدودة. إلا أنه يمكن استخدامها بايثون لإنجاز المشاريع الضخمه كأي لغة برمجية أخرى، غالباً ما يُنصح المبتدئين في ميدان البرمجة بتعلم هذه اللغة لأنها من بين أسهل اللغات البرمجية تعلماً. - -|||||||||||||||||||||||||||||THIS SHOULD BE RTL||||||||||||||||||||||||| - -(نشأت بايثون في مركز CWI (مركز العلوم والحاسب الآلي) بأمستردام على يد جويدو فان رُزوم. تم تطويرها بلغة C. أطلق فان رُزوم اسم "بايثون" على لغته تعبيرًا عن إعجابه بفِرقَة مسرحية هزلية شهيرة من بريطانيا، كانت تطلق على نفسها اسم مونتي بايثون Monty Python. - -تتميز بايثون بمجتمعها النشط ، كما أن لها الكثير من المكتبات البرمجية ذات الأغراض الخاصة والتي برمجها أشخاص من مجتمع هذه اللغة ، مثلاً مكتبة PyGame التي توفر مجموعه من الوظائف من اجل برمجة الالعاب. ويمكن لبايثون التعامل مع العديد من أنواع قواعد البيانات مثل MySQL وغيره. - -##أمثلة -مثال Hello World! - - print "Hello World!" - - -مثال لاستخراج المضروب Factorial : - - num = 1 - x = raw_input('Insert the number please ') - x = int(x) - - if x > 69: - print 'Math Error !' - else: - while x > 1: - num *= x - x = x-1 - - print num - - - -##وصلات خارجية -* [الموقع الرسمي للغة بايثون](http://www.python.org) - - بذرة حاس - - -**Недвард «Нед» Фландерс** (Nedward «Ned» Flanders) — вымышленный персонаж мультсериала «[Симпсоны][]», озвученный Гарри Ширером. Он и его семья живут по соседству от семьи Симпсонов. Набожный христианин, Нед является одним из столпов морали Спрингфилда. В эпизоде «Alone Again, Natura-Diddily» он овдовел, его жена Мод погибла в результате несчастного случая. - -Нед был одним из первых персонажей в мультсериале, который не был членом семьи Симпсонов. Начиная с первых серий, он регулярно появляется в «Симпсонах». Считается, что Нед Фландерс был назван в честь улицы *Northeast Flanders St.* в [Портленде](http://www.portland.gov), Орегон, родном городе создателя мультсериала Мэтта Грейнинга]]. Надпись на указателе улицы *NE Flanders St.* хулиганы часто исправляли на _NED Flanders St._ - - diff --git a/tests/misc/blank-block-quote.html b/tests/misc/blank-block-quote.html deleted file mode 100644 index 23df17a..0000000 --- a/tests/misc/blank-block-quote.html +++ /dev/null @@ -1,3 +0,0 @@ -<p>aaaaaaaaaaa</p> -<blockquote /> -<p>bbbbbbbbbbb</p>
\ No newline at end of file diff --git a/tests/misc/blank-block-quote.txt b/tests/misc/blank-block-quote.txt deleted file mode 100644 index 75bfc74..0000000 --- a/tests/misc/blank-block-quote.txt +++ /dev/null @@ -1,6 +0,0 @@ - -aaaaaaaaaaa - -> - -bbbbbbbbbbb diff --git a/tests/misc/blockquote-below-paragraph.html b/tests/misc/blockquote-below-paragraph.html deleted file mode 100644 index a138933..0000000 --- a/tests/misc/blockquote-below-paragraph.html +++ /dev/null @@ -1,15 +0,0 @@ -<p>Paragraph</p> -<blockquote> -<p>Block quote -Yep</p> -</blockquote> -<p>Paragraph</p> -<blockquote> -<p>no space -Nope</p> -</blockquote> -<p>Paragraph one</p> -<blockquote> -<p>blockquote -More blockquote.</p> -</blockquote>
\ No newline at end of file diff --git a/tests/misc/blockquote-below-paragraph.txt b/tests/misc/blockquote-below-paragraph.txt deleted file mode 100644 index 529e5a9..0000000 --- a/tests/misc/blockquote-below-paragraph.txt +++ /dev/null @@ -1,11 +0,0 @@ -Paragraph -> Block quote -> Yep - -Paragraph ->no space ->Nope - -Paragraph one -> blockquote -More blockquote. diff --git a/tests/misc/blockquote-hr.html b/tests/misc/blockquote-hr.html deleted file mode 100644 index 61c1a3c..0000000 --- a/tests/misc/blockquote-hr.html +++ /dev/null @@ -1,16 +0,0 @@ -<p>This is a paragraph.</p> -<hr /> -<blockquote> -<p>Block quote with horizontal lines.</p> -<hr /> -<blockquote> -<p>Double block quote.</p> -<hr /> -<p>End of the double block quote.</p> -</blockquote> -<p>A new paragraph. -With multiple lines. -Even a lazy line.</p> -<hr /> -<p>The last line.</p> -</blockquote>
\ No newline at end of file diff --git a/tests/misc/blockquote-hr.txt b/tests/misc/blockquote-hr.txt deleted file mode 100644 index ef9c44f..0000000 --- a/tests/misc/blockquote-hr.txt +++ /dev/null @@ -1,21 +0,0 @@ -This is a paragraph. - ---- - -> Block quote with horizontal lines. - -> --- - -> > Double block quote. - -> > --- - -> > End of the double block quote. - -> A new paragraph. -> With multiple lines. -Even a lazy line. - -> --- - -> The last line. diff --git a/tests/misc/blockquote.html b/tests/misc/blockquote.html deleted file mode 100644 index 4481d51..0000000 --- a/tests/misc/blockquote.html +++ /dev/null @@ -1,24 +0,0 @@ -<blockquote> -<p>blockquote with no whitespace before <code>></code>.</p> -</blockquote> -<p>foo</p> -<blockquote> -<p>blockquote with one space before the <code>></code>.</p> -</blockquote> -<p>bar</p> -<blockquote> -<p>blockquote with 2 spaces.</p> -</blockquote> -<p>baz</p> -<blockquote> -<p>this has three spaces so its a paragraph.</p> -</blockquote> -<p>blah</p> -<pre><code>> this one had four so it's a code block. -</code></pre> -<blockquote> -<blockquote> -<p>this nested blockquote has 0 on level one and 3 (one after the first <code>></code> + 2 more) on level 2.</p> -<p>and this has 4 on level 2 - another code block.</p> -</blockquote> -</blockquote>
\ No newline at end of file diff --git a/tests/misc/blockquote.txt b/tests/misc/blockquote.txt deleted file mode 100644 index be3ff90..0000000 --- a/tests/misc/blockquote.txt +++ /dev/null @@ -1,21 +0,0 @@ -> blockquote with no whitespace before `>`. - -foo - - > blockquote with one space before the `>`. - -bar - - > blockquote with 2 spaces. - -baz - - > this has three spaces so its a paragraph. - -blah - - > this one had four so it's a code block. - -> > this nested blockquote has 0 on level one and 3 (one after the first `>` + 2 more) on level 2. - -> > and this has 4 on level 2 - another code block. diff --git a/tests/misc/bold_links.html b/tests/misc/bold_links.html deleted file mode 100644 index 5a78e57..0000000 --- a/tests/misc/bold_links.html +++ /dev/null @@ -1 +0,0 @@ -<p><strong>bold <a href="http://example.com">link</a></strong></p>
\ No newline at end of file diff --git a/tests/misc/bold_links.txt b/tests/misc/bold_links.txt deleted file mode 100644 index a07f441..0000000 --- a/tests/misc/bold_links.txt +++ /dev/null @@ -1 +0,0 @@ -**bold [link](http://example.com)** diff --git a/tests/misc/br.html b/tests/misc/br.html deleted file mode 100644 index 08563a5..0000000 --- a/tests/misc/br.html +++ /dev/null @@ -1,11 +0,0 @@ -<p>Output:</p> -<pre><code><p>Some of these words <em>are emphasized</em>. -Some of these words <em>are emphasized also</em>.</p> - -<p>Use two asterisks for <strong>strong emphasis</strong>. -Or, if you prefer, <strong>use two underscores instead</strong>.</p> -</code></pre> -<h2>Lists</h2> -<p>Unordered (bulleted) lists use asterisks, pluses, and hyphens (<code>*</code>, -<code>+</code>, and <code>-</code>) as list markers. These three markers are -interchangable; this:</p>
\ No newline at end of file diff --git a/tests/misc/br.txt b/tests/misc/br.txt deleted file mode 100644 index 59d29e0..0000000 --- a/tests/misc/br.txt +++ /dev/null @@ -1,16 +0,0 @@ -Output: - - <p>Some of these words <em>are emphasized</em>. - Some of these words <em>are emphasized also</em>.</p> - - <p>Use two asterisks for <strong>strong emphasis</strong>. - Or, if you prefer, <strong>use two underscores instead</strong>.</p> - - - -## Lists ## - -Unordered (bulleted) lists use asterisks, pluses, and hyphens (`*`, -`+`, and `-`) as list markers. These three markers are -interchangable; this: - diff --git a/tests/misc/bracket_re.html b/tests/misc/bracket_re.html deleted file mode 100644 index f48a612..0000000 --- a/tests/misc/bracket_re.html +++ /dev/null @@ -1,60 +0,0 @@ -<p>[x -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx</p>
\ No newline at end of file diff --git a/tests/misc/bracket_re.txt b/tests/misc/bracket_re.txt deleted file mode 100644 index 545e061..0000000 --- a/tests/misc/bracket_re.txt +++ /dev/null @@ -1,61 +0,0 @@ - -[x -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx -xxx xxx xxx xxx xxx xxx xxx xxx diff --git a/tests/misc/code-first-line.html b/tests/misc/code-first-line.html deleted file mode 100644 index 1fb0b7c..0000000 --- a/tests/misc/code-first-line.html +++ /dev/null @@ -1,2 +0,0 @@ -<pre><code>print "This is a code block." -</code></pre>
\ No newline at end of file diff --git a/tests/misc/code-first-line.txt b/tests/misc/code-first-line.txt deleted file mode 100644 index 952614d..0000000 --- a/tests/misc/code-first-line.txt +++ /dev/null @@ -1 +0,0 @@ - print "This is a code block." diff --git a/tests/misc/comments.html b/tests/misc/comments.html deleted file mode 100644 index 005a755..0000000 --- a/tests/misc/comments.html +++ /dev/null @@ -1,5 +0,0 @@ -<p>X<0</p> -<p>X>0</p> -<!-- A comment --> - -<div>as if</div>
\ No newline at end of file diff --git a/tests/misc/comments.txt b/tests/misc/comments.txt deleted file mode 100644 index 68302b0..0000000 --- a/tests/misc/comments.txt +++ /dev/null @@ -1,7 +0,0 @@ -X<0 - -X>0 - -<!-- A comment --> - -<div>as if</div> diff --git a/tests/misc/div.html b/tests/misc/div.html deleted file mode 100644 index 7b68854..0000000 --- a/tests/misc/div.html +++ /dev/null @@ -1,5 +0,0 @@ -<div id="sidebar"> - - _foo_ - -</div>
\ No newline at end of file diff --git a/tests/misc/div.txt b/tests/misc/div.txt deleted file mode 100644 index ca87745..0000000 --- a/tests/misc/div.txt +++ /dev/null @@ -1,5 +0,0 @@ -<div id="sidebar"> - - _foo_ - -</div> diff --git a/tests/misc/em-around-links.html b/tests/misc/em-around-links.html deleted file mode 100644 index 06bfa8e..0000000 --- a/tests/misc/em-around-links.html +++ /dev/null @@ -1,16 +0,0 @@ -<h1>Title</h1> - -<ul> - <li><em><a href="http://www.freewisdom.org/projects/python-markdown/">Python in Markdown</a> by some - great folks</em> - This <em>does</em> work as expected.</li> - <li><em><a href="http://www.freewisdom.org/projects/python-markdown/">Python in Markdown</a> by some - great folks</em> - This <em>does</em> work as expected.</li> - <li><a href="http://www.freewisdom.org/projects/python-markdown/"><em>Python in Markdown</em></a> by some - great folks - This <em>does</em> work as expected.</li> - <li><a href="http://www.freewisdom.org/projects/python-markdown/"><em>Python in Markdown</em></a> <em>by some - great folks</em> - This <em>does</em> work as expected.</li> -</ul> - -<p><em><a href="http://www.freewisdom.org/projects/python-markdown/">Python in Markdown</a> by some - great folks</em> - This <em>does</em> work as expected.</p> - diff --git a/tests/misc/em-around-links.txt b/tests/misc/em-around-links.txt deleted file mode 100644 index 5b15be4..0000000 --- a/tests/misc/em-around-links.txt +++ /dev/null @@ -1,14 +0,0 @@ -# Title - - - *[Python in Markdown](http://www.freewisdom.org/projects/python-markdown/) by some - great folks* - This *does* work as expected. - - _[Python in Markdown](http://www.freewisdom.org/projects/python-markdown/) by some - great folks_ - This *does* work as expected. - - [_Python in Markdown_](http://www.freewisdom.org/projects/python-markdown/) by some - great folks - This *does* work as expected. - - [_Python in Markdown_](http://www.freewisdom.org/projects/python-markdown/) _by some - great folks_ - This *does* work as expected. - -_[Python in Markdown](http://www.freewisdom.org/projects/python-markdown/) by some -great folks_ - This *does* work as expected. - diff --git a/tests/misc/em_strong.html b/tests/misc/em_strong.html deleted file mode 100644 index 75c92d8..0000000 --- a/tests/misc/em_strong.html +++ /dev/null @@ -1,10 +0,0 @@ -<p>One asterisk: *</p> -<p>One underscore: _</p> -<p>Two asterisks: **</p> -<p>With spaces: * *</p> -<p>Two underscores __</p> -<p>with spaces: _ _</p> -<p>three asterisks: ***</p> -<p>with spaces: * * *</p> -<p>three underscores: ___</p> -<p>with spaces: _ _ _</p>
\ No newline at end of file diff --git a/tests/misc/em_strong.txt b/tests/misc/em_strong.txt deleted file mode 100644 index d0774ad..0000000 --- a/tests/misc/em_strong.txt +++ /dev/null @@ -1,20 +0,0 @@ -One asterisk: * - -One underscore: _ - -Two asterisks: ** - -With spaces: * * - -Two underscores __ - -with spaces: _ _ - -three asterisks: *** - -with spaces: * * * - -three underscores: ___ - -with spaces: _ _ _ - diff --git a/tests/misc/email.html b/tests/misc/email.html deleted file mode 100644 index 0d033bb..0000000 --- a/tests/misc/email.html +++ /dev/null @@ -1,2 +0,0 @@ -<p>asdfasdfadsfasd <a href="mailto:yuri@freewisdom.org">yuri@freewisdom.org</a> or you can say -instead <a href="mailto:yuri@freewisdom.org">yuri@freewisdom.org</a></p>
\ No newline at end of file diff --git a/tests/misc/email.txt b/tests/misc/email.txt deleted file mode 100644 index ece8801..0000000 --- a/tests/misc/email.txt +++ /dev/null @@ -1,3 +0,0 @@ - -asdfasdfadsfasd <yuri@freewisdom.org> or you can say -instead <mailto:yuri@freewisdom.org> diff --git a/tests/misc/funky-list.html b/tests/misc/funky-list.html deleted file mode 100644 index 313db8f..0000000 --- a/tests/misc/funky-list.html +++ /dev/null @@ -1,11 +0,0 @@ -<ol> -<li>this starts a list <em>with</em> numbers</li> -<li>this will show as number "2"</li> -<li>this will show as number "3."</li> -<li>any number, +, -, or * will keep the list going.</li> -</ol> -<p>aaaaaaaaaaaaaaa</p> -<ul> -<li>now a normal list</li> -<li>and more</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/funky-list.txt b/tests/misc/funky-list.txt deleted file mode 100644 index 48ecd60..0000000 --- a/tests/misc/funky-list.txt +++ /dev/null @@ -1,9 +0,0 @@ -1. this starts a list *with* numbers -+ this will show as number "2" -* this will show as number "3." -9. any number, +, -, or * will keep the list going. - -aaaaaaaaaaaaaaa - -- now a normal list -- and more diff --git a/tests/misc/h1.html b/tests/misc/h1.html deleted file mode 100644 index fbf9b4d..0000000 --- a/tests/misc/h1.html +++ /dev/null @@ -1,3 +0,0 @@ -<h2>Header</h2> -<h1>Header 2</h1> -<h3>H3</h3>
\ No newline at end of file diff --git a/tests/misc/h1.txt b/tests/misc/h1.txt deleted file mode 100644 index 0a1c8f9..0000000 --- a/tests/misc/h1.txt +++ /dev/null @@ -1,7 +0,0 @@ -Header ------- - -Header 2 -======== - -### H3 diff --git a/tests/misc/hash.html b/tests/misc/hash.html deleted file mode 100644 index 1865994..0000000 --- a/tests/misc/hash.html +++ /dev/null @@ -1,11 +0,0 @@ -<p>a</p> -<pre> -#!/usr/bin/python -hello</pre> - -<p>a</p> -<pre> -!/usr/bin/python -hello</pre> - -<p>a</p>
\ No newline at end of file diff --git a/tests/misc/hash.txt b/tests/misc/hash.txt deleted file mode 100644 index 634758d..0000000 --- a/tests/misc/hash.txt +++ /dev/null @@ -1,13 +0,0 @@ -a - -<pre> -#!/usr/bin/python -hello</pre> - -a - -<pre> -!/usr/bin/python -hello</pre> - -a diff --git a/tests/misc/headers.html b/tests/misc/headers.html deleted file mode 100644 index 2a737e2..0000000 --- a/tests/misc/headers.html +++ /dev/null @@ -1,10 +0,0 @@ -<h3>Hello world</h3> -<p>Line 2 -Line 3</p> -<h1>[Markdown][5]</h1> -<h1><a href="http://some.link.com/">Markdown</a></h1> -<h1>[5]: http://foo.com/</h1> -<h1>Issue #1: Markdown</h1> -<p>Text</p> -<h1>Header</h1> -<p>Some other text</p>
\ No newline at end of file diff --git a/tests/misc/headers.txt b/tests/misc/headers.txt deleted file mode 100644 index db114ed..0000000 --- a/tests/misc/headers.txt +++ /dev/null @@ -1,15 +0,0 @@ -### Hello world -Line 2 -Line 3 - -# [Markdown][5] - -# [Markdown](http://some.link.com/) - -# [5]: http://foo.com/ - -# Issue #1: Markdown - -Text -# Header -Some other text diff --git a/tests/misc/hline.html b/tests/misc/hline.html deleted file mode 100644 index b18a311..0000000 --- a/tests/misc/hline.html +++ /dev/null @@ -1,2 +0,0 @@ -<h1>Header</h1> -<p>Next line</p>
\ No newline at end of file diff --git a/tests/misc/hline.txt b/tests/misc/hline.txt deleted file mode 100644 index e39b7a2..0000000 --- a/tests/misc/hline.txt +++ /dev/null @@ -1,5 +0,0 @@ - -#Header -Next line - - diff --git a/tests/misc/html-comments.html b/tests/misc/html-comments.html deleted file mode 100644 index 7b36246..0000000 --- a/tests/misc/html-comments.html +++ /dev/null @@ -1,2 +0,0 @@ -<p>Here is HTML <!-- **comment** --> -and once more <p><!--comment--></p></p>
\ No newline at end of file diff --git a/tests/misc/html-comments.txt b/tests/misc/html-comments.txt deleted file mode 100644 index cac4da5..0000000 --- a/tests/misc/html-comments.txt +++ /dev/null @@ -1,2 +0,0 @@ -Here is HTML <!-- **comment** --> -and once more <p><!--comment--></p> diff --git a/tests/misc/html.html b/tests/misc/html.html deleted file mode 100644 index cd6d4af..0000000 --- a/tests/misc/html.html +++ /dev/null @@ -1,13 +0,0 @@ -<h1>Block level html</h1> - -<p>Some inline <b>stuff<b>.<br /> -</p> -<p>Now some <arbitrary>arbitrary tags</arbitrary>.</p> -<div>More block level html.</div> - -<div class="foo bar" title="with 'quoted' text." valueless_attr weirdness="<i>foo</i>"> -Html with various attributes. -</div> - -<p>And of course <script>blah</script>.</p> -<p><a href="script>stuff</script">this <script>link</a></p>
\ No newline at end of file diff --git a/tests/misc/html.txt b/tests/misc/html.txt deleted file mode 100644 index c08fe1d..0000000 --- a/tests/misc/html.txt +++ /dev/null @@ -1,17 +0,0 @@ - -<h1>Block level html</h1> - -Some inline <b>stuff<b>. - -Now some <arbitrary>arbitrary tags</arbitrary>. - -<div>More block level html.</div> - -<div class="foo bar" title="with 'quoted' text." valueless_attr weirdness="<i>foo</i>"> -Html with various attributes. -</div> - -And of course <script>blah</script>. - -[this <script>link](<script>stuff</script>) - diff --git a/tests/misc/image-2.html b/tests/misc/image-2.html deleted file mode 100644 index 9343d29..0000000 --- a/tests/misc/image-2.html +++ /dev/null @@ -1,2 +0,0 @@ -<p><a href="http://src.com/"><em>link!</em></a></p> -<p><em><a href="http://www.freewisdom.org">link</a></em></p>
\ No newline at end of file diff --git a/tests/misc/image-2.txt b/tests/misc/image-2.txt deleted file mode 100644 index 6228383..0000000 --- a/tests/misc/image-2.txt +++ /dev/null @@ -1,3 +0,0 @@ -[*link!*](http://src.com/) - -*[link](http://www.freewisdom.org)* diff --git a/tests/misc/image.html b/tests/misc/image.html deleted file mode 100644 index 16be2d5..0000000 --- a/tests/misc/image.html +++ /dev/null @@ -1 +0,0 @@ -<p><img alt="Poster" src="http://humane_man.jpg" title="The most humane man." /></p>
\ No newline at end of file diff --git a/tests/misc/image.txt b/tests/misc/image.txt deleted file mode 100644 index 5553bd4..0000000 --- a/tests/misc/image.txt +++ /dev/null @@ -1,2 +0,0 @@ - -![Poster](http://humane_man.jpg "The most humane man.") diff --git a/tests/misc/image_in_links.html b/tests/misc/image_in_links.html deleted file mode 100644 index 5a8cdc3..0000000 --- a/tests/misc/image_in_links.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="path/to/image.png"><img alt="altname" src="path/to/img_thumb.png" /></a></p>
\ No newline at end of file diff --git a/tests/misc/image_in_links.txt b/tests/misc/image_in_links.txt deleted file mode 100644 index 6d739e6..0000000 --- a/tests/misc/image_in_links.txt +++ /dev/null @@ -1,3 +0,0 @@ - - -[![altname](path/to/img_thumb.png)](path/to/image.png) diff --git a/tests/misc/inside_html.html b/tests/misc/inside_html.html deleted file mode 100644 index 6343dd9..0000000 --- a/tests/misc/inside_html.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="stuff"> <strong>ok</strong>? </a></p>
\ No newline at end of file diff --git a/tests/misc/inside_html.txt b/tests/misc/inside_html.txt deleted file mode 100644 index 4f068bf..0000000 --- a/tests/misc/inside_html.txt +++ /dev/null @@ -1 +0,0 @@ -<a href="stuff"> __ok__? </a> diff --git a/tests/misc/japanese.html b/tests/misc/japanese.html deleted file mode 100644 index 930891b..0000000 --- a/tests/misc/japanese.html +++ /dev/null @@ -1,11 +0,0 @@ -<h1>パイソン (Python)</h1> -<p><strong>Python</strong>(パイソン)は、<a href="http://en.wikipedia.org/wiki/Guido_van_Rossum">Guido van Rossum</a> によって作られたオープンソースのオブジェクト指向スクリプト言語。<a href="http://ja.wikipedia.org/wiki/Perl">Perl</a>とともに欧米で広く普及している。イギリスのテレビ局 BBC が製作したコメディ番組『空飛ぶモンティ・パイソン』にちなんで名付けられた。 (Pythonには、爬虫類のニシキヘビの意味があり、Python言語のマスコットやアイコンとして使われることがある。)</p> -<h2>概要</h2> -<p>プログラミング言語 Python は初心者から専門家まで幅広いユーザ層を獲得している。利用目的は汎用で、方向性としてはJavaに近い。ただし、最初からネットワーク利用をメインとして考えられているJavaよりセキュリティについてはやや寛大である。多くのプラットフォームをサポートしており(⇒<a href="#somelink">動作するプラットフォーム</a>)、豊富なライブラリがあることから、産業界でも利用が増えつつある。また、Pythonは純粋なプログラミング言語のほかにも、多くの異なる言語で書かれたモジュールをまとめる糊言語のひとつとして位置づけることができる。実際Pythonは多くの商用アプリケーションでスクリプト言語として採用されている(⇒Pythonを使っている製品あるいはソフトウェアの一覧)。豊富なドキュメントをもち、Unicodeによる文字列操作をサポートしており、日本語処理も標準で可能である。</p> -<p>Python は基本的にインタプリタ上で実行されることを念頭において設計されており、以下のような特徴をもっている:</p> -<ul> -<li>動的な型付け。</li> -<li>オブジェクトのメンバに対するアクセスが制限されていない。(属性や専用のメソッドフックを実装することによって制限は可能。)</li> -<li>モジュール、クラス、オブジェクト等の言語の要素が内部からアクセス可能であり、リフレクションを利用した記述が可能。</li> -</ul> -<p>また、Pythonではインデントによりブロックを指定する構文を採用している(⇒<a href="#jklj">オフサイドルール</a>)。この構文はPythonに慣れたユーザからは称賛をもって受け入れられているが、他の言語のユーザからは批判も多い。このほかにも、大きすぎる実行ファイルや、Javaに比べて遅い処理速度などが欠点として指摘されている。しかし <strong>プロトタイピング</strong> の際にはこれらの点はさして問題とはならないことから、研究開発部門では頻繁に利用されている。</p>
\ No newline at end of file diff --git a/tests/misc/japanese.txt b/tests/misc/japanese.txt deleted file mode 100644 index b2bd38c..0000000 --- a/tests/misc/japanese.txt +++ /dev/null @@ -1,15 +0,0 @@ -パイソン (Python) -======= - -**Python**(パイソン)は、[Guido van Rossum](http://en.wikipedia.org/wiki/Guido_van_Rossum) によって作られたオープンソースのオブジェクト指向スクリプト言語。[Perl](http://ja.wikipedia.org/wiki/Perl)とともに欧米で広く普及している。イギリスのテレビ局 BBC が製作したコメディ番組『空飛ぶモンティ・パイソン』にちなんで名付けられた。 (Pythonには、爬虫類のニシキヘビの意味があり、Python言語のマスコットやアイコンとして使われることがある。) - -## 概要 -プログラミング言語 Python は初心者から専門家まで幅広いユーザ層を獲得している。利用目的は汎用で、方向性としてはJavaに近い。ただし、最初からネットワーク利用をメインとして考えられているJavaよりセキュリティについてはやや寛大である。多くのプラットフォームをサポートしており(⇒[動作するプラットフォーム](#somelink))、豊富なライブラリがあることから、産業界でも利用が増えつつある。また、Pythonは純粋なプログラミング言語のほかにも、多くの異なる言語で書かれたモジュールをまとめる糊言語のひとつとして位置づけることができる。実際Pythonは多くの商用アプリケーションでスクリプト言語として採用されている(⇒Pythonを使っている製品あるいはソフトウェアの一覧)。豊富なドキュメントをもち、Unicodeによる文字列操作をサポートしており、日本語処理も標準で可能である。 - -Python は基本的にインタプリタ上で実行されることを念頭において設計されており、以下のような特徴をもっている: - -* 動的な型付け。 -* オブジェクトのメンバに対するアクセスが制限されていない。(属性や専用のメソッドフックを実装することによって制限は可能。) -* モジュール、クラス、オブジェクト等の言語の要素が内部からアクセス可能であり、リフレクションを利用した記述が可能。 - -また、Pythonではインデントによりブロックを指定する構文を採用している(⇒[オフサイドルール](#jklj))。この構文はPythonに慣れたユーザからは称賛をもって受け入れられているが、他の言語のユーザからは批判も多い。このほかにも、大きすぎる実行ファイルや、Javaに比べて遅い処理速度などが欠点として指摘されている。しかし **プロトタイピング** の際にはこれらの点はさして問題とはならないことから、研究開発部門では頻繁に利用されている。 diff --git a/tests/misc/lazy-block-quote.html b/tests/misc/lazy-block-quote.html deleted file mode 100644 index 7a88263..0000000 --- a/tests/misc/lazy-block-quote.html +++ /dev/null @@ -1,6 +0,0 @@ -<blockquote> -<p>Line one of lazy block quote. -Line two of lazy block quote.</p> -<p>Line one of paragraph two. -Line two of paragraph two.</p> -</blockquote>
\ No newline at end of file diff --git a/tests/misc/lazy-block-quote.txt b/tests/misc/lazy-block-quote.txt deleted file mode 100644 index e7c17ca..0000000 --- a/tests/misc/lazy-block-quote.txt +++ /dev/null @@ -1,5 +0,0 @@ -> Line one of lazy block quote. -Line two of lazy block quote. - -> Line one of paragraph two. -Line two of paragraph two. diff --git a/tests/misc/link-with-parenthesis.html b/tests/misc/link-with-parenthesis.html deleted file mode 100644 index a56ed8d..0000000 --- a/tests/misc/link-with-parenthesis.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="http://en.wikipedia.org/wiki/ZIP_(file_format)" title="ZIP (file format) - Wikipedia, the free encyclopedia">ZIP archives</a></p>
\ No newline at end of file diff --git a/tests/misc/link-with-parenthesis.txt b/tests/misc/link-with-parenthesis.txt deleted file mode 100644 index 8affc98..0000000 --- a/tests/misc/link-with-parenthesis.txt +++ /dev/null @@ -1 +0,0 @@ -[ZIP archives](http://en.wikipedia.org/wiki/ZIP_(file_format) "ZIP (file format) - Wikipedia, the free encyclopedia") diff --git a/tests/misc/lists.html b/tests/misc/lists.html deleted file mode 100644 index bf4a02b..0000000 --- a/tests/misc/lists.html +++ /dev/null @@ -1,36 +0,0 @@ -<ul> -<li>A multi-paragraph list, -unindented.</li> -</ul> -<p>Simple tight list</p> -<ul> -<li>Uno</li> -<li>Due</li> -<li>Tri</li> -</ul> -<p>A singleton tight list:</p> -<ul> -<li>Uno</li> -</ul> -<p>A lose list:</p> -<ul> -<li> -<p>One</p> -</li> -<li> -<p>Two</p> -</li> -<li> -<p>Three</p> -</li> -</ul> -<p>A lose list with paragraphs</p> -<ul> -<li> -<p>One one one one</p> -<p>one one one one</p> -</li> -<li> -<p>Two two two two</p> -</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/lists.txt b/tests/misc/lists.txt deleted file mode 100644 index 6db0dc3..0000000 --- a/tests/misc/lists.txt +++ /dev/null @@ -1,31 +0,0 @@ - -* A multi-paragraph list, -unindented. - - - -Simple tight list - -* Uno -* Due -* Tri - -A singleton tight list: - -* Uno - -A lose list: - -* One - -* Two - -* Three - -A lose list with paragraphs - -* One one one one - - one one one one - -* Two two two two diff --git a/tests/misc/lists2.html b/tests/misc/lists2.html deleted file mode 100644 index 991395b..0000000 --- a/tests/misc/lists2.html +++ /dev/null @@ -1,5 +0,0 @@ -<ul> -<li>blah blah blah -sdf asdf asdf asdf asdf -asda asdf asdfasd</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/lists2.txt b/tests/misc/lists2.txt deleted file mode 100644 index cbff761..0000000 --- a/tests/misc/lists2.txt +++ /dev/null @@ -1,3 +0,0 @@ -* blah blah blah -sdf asdf asdf asdf asdf -asda asdf asdfasd diff --git a/tests/misc/lists3.html b/tests/misc/lists3.html deleted file mode 100644 index 991395b..0000000 --- a/tests/misc/lists3.html +++ /dev/null @@ -1,5 +0,0 @@ -<ul> -<li>blah blah blah -sdf asdf asdf asdf asdf -asda asdf asdfasd</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/lists3.txt b/tests/misc/lists3.txt deleted file mode 100644 index 6b45bd4..0000000 --- a/tests/misc/lists3.txt +++ /dev/null @@ -1,3 +0,0 @@ -* blah blah blah - sdf asdf asdf asdf asdf - asda asdf asdfasd diff --git a/tests/misc/lists4.html b/tests/misc/lists4.html deleted file mode 100644 index 4b6b32c..0000000 --- a/tests/misc/lists4.html +++ /dev/null @@ -1,8 +0,0 @@ -<ul> -<li>item1</li> -<li>item2<ol> -<li>Number 1</li> -<li>Number 2</li> -</ol> -</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/lists4.txt b/tests/misc/lists4.txt deleted file mode 100644 index a21493d..0000000 --- a/tests/misc/lists4.txt +++ /dev/null @@ -1,5 +0,0 @@ - -* item1 -* item2 - 1. Number 1 - 2. Number 2 diff --git a/tests/misc/lists5.html b/tests/misc/lists5.html deleted file mode 100644 index c3dbda4..0000000 --- a/tests/misc/lists5.html +++ /dev/null @@ -1,14 +0,0 @@ -<blockquote> -<p>This is a test of a block quote -With just two lines</p> -</blockquote> -<p>A paragraph</p> -<blockquote> -<p>This is a more difficult case -With a list item inside the quote</p> -<ul> -<li>Alpha</li> -<li>Beta -Etc.</li> -</ul> -</blockquote>
\ No newline at end of file diff --git a/tests/misc/lists5.txt b/tests/misc/lists5.txt deleted file mode 100644 index 566e0f1..0000000 --- a/tests/misc/lists5.txt +++ /dev/null @@ -1,12 +0,0 @@ -> This is a test of a block quote -> With just two lines - -A paragraph - -> This is a more difficult case -> With a list item inside the quote -> -> * Alpha -> * Beta -> Etc. - diff --git a/tests/misc/lists6.html b/tests/misc/lists6.html deleted file mode 100644 index 24aad38..0000000 --- a/tests/misc/lists6.html +++ /dev/null @@ -1,18 +0,0 @@ -<p>Test five or more spaces as start of list:</p> -<ul> -<li>five spaces</li> -</ul> -<p>not first item:</p> -<ul> -<li>one space</li> -<li>five spaces</li> -</ul> -<p>loose list:</p> -<ul> -<li> -<p>one space</p> -</li> -<li> -<p>five spaces</p> -</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/lists6.txt b/tests/misc/lists6.txt deleted file mode 100644 index f12788f..0000000 --- a/tests/misc/lists6.txt +++ /dev/null @@ -1,14 +0,0 @@ -Test five or more spaces as start of list: - -* five spaces - -not first item: - -* one space -* five spaces - -loose list: - -* one space - -* five spaces diff --git a/tests/misc/markup-inside-p.html b/tests/misc/markup-inside-p.html deleted file mode 100644 index 1b6b420..0000000 --- a/tests/misc/markup-inside-p.html +++ /dev/null @@ -1,21 +0,0 @@ -<p> - -_foo_ - -</p> - -<p> -_foo_ -</p> - -<p>_foo_</p> - -<p> - -_foo_ -</p> - -<p> -_foo_ - -</p>
\ No newline at end of file diff --git a/tests/misc/markup-inside-p.txt b/tests/misc/markup-inside-p.txt deleted file mode 100644 index ab7dd0f..0000000 --- a/tests/misc/markup-inside-p.txt +++ /dev/null @@ -1,21 +0,0 @@ -<p> - -_foo_ - -</p> - -<p> -_foo_ -</p> - -<p>_foo_</p> - -<p> - -_foo_ -</p> - -<p> -_foo_ - -</p> diff --git a/tests/misc/mismatched-tags.html b/tests/misc/mismatched-tags.html deleted file mode 100644 index ec087e1..0000000 --- a/tests/misc/mismatched-tags.html +++ /dev/null @@ -1,11 +0,0 @@ -<p>Some text</p> - -<div>some more text</div> - -<p>and a bit more</p> -<p>And this output</p> - -<p><em>Compatible with PHP Markdown Extra 1.2.2 and Markdown.pl1.0.2b8:</em></p> -<!-- comment --><p><div>text</div><br /></p><br /> - -<p>Should be in p</p>
\ No newline at end of file diff --git a/tests/misc/mismatched-tags.txt b/tests/misc/mismatched-tags.txt deleted file mode 100644 index 8e6a52f..0000000 --- a/tests/misc/mismatched-tags.txt +++ /dev/null @@ -1,9 +0,0 @@ -<p>Some text</p><div>some more text</div> - -and a bit more - -<p>And this output</p> *Compatible with PHP Markdown Extra 1.2.2 and Markdown.pl1.0.2b8:* - -<!-- comment --><p><div>text</div><br /></p><br /> - -Should be in p diff --git a/tests/misc/missing-link-def.html b/tests/misc/missing-link-def.html deleted file mode 100644 index e04b5eb..0000000 --- a/tests/misc/missing-link-def.html +++ /dev/null @@ -1 +0,0 @@ -<p>This is a [missing link][empty] and a <a href="http://example.com">valid</a> and [missing][again].</p>
\ No newline at end of file diff --git a/tests/misc/missing-link-def.txt b/tests/misc/missing-link-def.txt deleted file mode 100644 index 44bc656..0000000 --- a/tests/misc/missing-link-def.txt +++ /dev/null @@ -1,4 +0,0 @@ -This is a [missing link][empty] and a [valid][link] and [missing][again]. - -[link]: http://example.com - diff --git a/tests/misc/more_comments.html b/tests/misc/more_comments.html deleted file mode 100644 index 97074d5..0000000 --- a/tests/misc/more_comments.html +++ /dev/null @@ -1,7 +0,0 @@ -<!--asd@asdfd.com> - -<!asd@asdfd.com> - -<asd!@asdfd.com> - -<p>Test</p>
\ No newline at end of file diff --git a/tests/misc/more_comments.txt b/tests/misc/more_comments.txt deleted file mode 100644 index 0397f9c..0000000 --- a/tests/misc/more_comments.txt +++ /dev/null @@ -1,9 +0,0 @@ -<!--asd@asdfd.com> - - -<!asd@asdfd.com> - - -<asd!@asdfd.com> - -Test diff --git a/tests/misc/multi-line-tags.html b/tests/misc/multi-line-tags.html deleted file mode 100644 index 784c1dd..0000000 --- a/tests/misc/multi-line-tags.html +++ /dev/null @@ -1,5 +0,0 @@ -<div> - -asdf asdfasd - -</div>
\ No newline at end of file diff --git a/tests/misc/multi-line-tags.txt b/tests/misc/multi-line-tags.txt deleted file mode 100644 index 4ea3b02..0000000 --- a/tests/misc/multi-line-tags.txt +++ /dev/null @@ -1,6 +0,0 @@ - -<div> - -asdf asdfasd - -</div> diff --git a/tests/misc/multi-paragraph-block-quote.html b/tests/misc/multi-paragraph-block-quote.html deleted file mode 100644 index e13986a..0000000 --- a/tests/misc/multi-paragraph-block-quote.html +++ /dev/null @@ -1,6 +0,0 @@ -<blockquote> -<p>This is line one of paragraph one - This is line two of paragraph one</p> -<p>This is line one of paragraph two</p> -<p>This is another blockquote.</p> -</blockquote>
\ No newline at end of file diff --git a/tests/misc/multi-paragraph-block-quote.txt b/tests/misc/multi-paragraph-block-quote.txt deleted file mode 100644 index f8a986f..0000000 --- a/tests/misc/multi-paragraph-block-quote.txt +++ /dev/null @@ -1,8 +0,0 @@ -> This is line one of paragraph one -> This is line two of paragraph one - -> This is line one of paragraph two - - - -> This is another blockquote. diff --git a/tests/misc/multi-test.html b/tests/misc/multi-test.html deleted file mode 100644 index 2c8fe9e..0000000 --- a/tests/misc/multi-test.html +++ /dev/null @@ -1,20 +0,0 @@ -<h1 id="inthebeginning">Header </h1> -<p>Now, let's try something <em class="special">inline</em>, to see if it works</p> -<p>Blah blah blah <a href="http://www.slashdot.org">http://www.slashdot.org</a></p> -<ul> -<li>Basic list</li> -<li>Basic list 2</li> -</ul> -<p>addss</p> -<ul> -<li>Lazy list</li> -</ul> -<p>An <a href="http://example.com" title="Title">example</a> (oops)</p> -<p>Now, let's use a footnote[^1]. Not bad, eh? -Let's continue.</p> -<p>[^1]: Here is the text of the footnote - continued on several lines. - some more of the footnote, etc.</p> -<pre><code>Actually, another paragraph too. -</code></pre> -<p>And then there is a little bit of text.</p>
\ No newline at end of file diff --git a/tests/misc/multi-test.txt b/tests/misc/multi-test.txt deleted file mode 100644 index c4ab1c1..0000000 --- a/tests/misc/multi-test.txt +++ /dev/null @@ -1,32 +0,0 @@ - -# Header {@id=inthebeginning} - -Now, let's try something *inline{@class=special}*, to see if it works - - -Blah blah blah <http://www.slashdot.org> - -* Basic list -* Basic list 2 - -addss - - * Lazy list - -An [example][ref] (oops) - - [ref]: http://example.com "Title" - - -Now, let's use a footnote[^1]. Not bad, eh? -Let's continue. - - [^1]: Here is the text of the footnote - continued on several lines. - some more of the footnote, etc. - - Actually, another paragraph too. - -And then there is a little bit of text. - - diff --git a/tests/misc/multiline-comments.html b/tests/misc/multiline-comments.html deleted file mode 100644 index 12f8cb5..0000000 --- a/tests/misc/multiline-comments.html +++ /dev/null @@ -1,17 +0,0 @@ -<!-- - -foo - ---> - -<p> - -foo - -</p> - -<div> - -foo - -</div>
\ No newline at end of file diff --git a/tests/misc/multiline-comments.txt b/tests/misc/multiline-comments.txt deleted file mode 100644 index 71bc418..0000000 --- a/tests/misc/multiline-comments.txt +++ /dev/null @@ -1,18 +0,0 @@ -<!-- - -foo - ---> - -<p> - -foo - -</p> - - -<div> - -foo - -</div> diff --git a/tests/misc/nested-lists.html b/tests/misc/nested-lists.html deleted file mode 100644 index bb73784..0000000 --- a/tests/misc/nested-lists.html +++ /dev/null @@ -1,39 +0,0 @@ -<ul> -<li> -<p>item 1</p> -<p>paragraph 2</p> -</li> -<li> -<p>item 2</p> -<ul> -<li>item 2-1</li> -<li> -<p>item 2-2</p> -<ul> -<li>item 2-2-1</li> -</ul> -</li> -<li> -<p>item 2-3</p> -<ul> -<li>item 2-3-1</li> -</ul> -</li> -</ul> -</li> -<li> -<p>item 3</p> -</li> -</ul> -<p>plain text</p> -<ul> -<li>item 1<ul> -<li>item 1-1</li> -<li>item 1-2<ul> -<li>item 1-2-1</li> -</ul> -</li> -</ul> -</li> -<li>item 2</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/nested-lists.txt b/tests/misc/nested-lists.txt deleted file mode 100644 index 38aae15..0000000 --- a/tests/misc/nested-lists.txt +++ /dev/null @@ -1,24 +0,0 @@ -* item 1 - - paragraph 2 - -* item 2 - - * item 2-1 - * item 2-2 - - * item 2-2-1 - - * item 2-3 - - * item 2-3-1 - -* item 3 - -plain text - -* item 1 - * item 1-1 - * item 1-2 - * item 1-2-1 -* item 2 diff --git a/tests/misc/nested-patterns.html b/tests/misc/nested-patterns.html deleted file mode 100644 index b90d46d..0000000 --- a/tests/misc/nested-patterns.html +++ /dev/null @@ -1,7 +0,0 @@ -<p><strong><em><a href="http://www.freewisdom.org">link</a></em></strong> -<strong><em><a href="http://www.freewisdom.org">link</a></em></strong> -<strong><a href="http://www.freewisdom.org"><em>link</em></a></strong> -<strong><a href="http://www.freewisdom.org"><em>link</em></a></strong> -<strong><a href="http://www.freewisdom.org"><em>link</em></a></strong> -<strong><a href="http://www.freewisdom.org"><em>link</em></a></strong> -<a href="http://www.freewisdom.org"><strong><em>link</em></strong></a></p>
\ No newline at end of file diff --git a/tests/misc/nested-patterns.txt b/tests/misc/nested-patterns.txt deleted file mode 100644 index 3f5dc3e..0000000 --- a/tests/misc/nested-patterns.txt +++ /dev/null @@ -1,7 +0,0 @@ -___[link](http://www.freewisdom.org)___ -***[link](http://www.freewisdom.org)*** -**[*link*](http://www.freewisdom.org)** -__[_link_](http://www.freewisdom.org)__ -__[*link*](http://www.freewisdom.org)__ -**[_link_](http://www.freewisdom.org)** -[***link***](http://www.freewisdom.org) diff --git a/tests/misc/normalize.html b/tests/misc/normalize.html deleted file mode 100644 index 8d05375..0000000 --- a/tests/misc/normalize.html +++ /dev/null @@ -1 +0,0 @@ -<p><a href="http://www.stuff.com/q?x=1&y=2<>">Link</a></p>
\ No newline at end of file diff --git a/tests/misc/normalize.txt b/tests/misc/normalize.txt deleted file mode 100644 index fe0cf17..0000000 --- a/tests/misc/normalize.txt +++ /dev/null @@ -1,2 +0,0 @@ - -[Link](http://www.stuff.com/q?x=1&y=2<>) diff --git a/tests/misc/numeric-entity.html b/tests/misc/numeric-entity.html deleted file mode 100644 index 3ad3b7a..0000000 --- a/tests/misc/numeric-entity.html +++ /dev/null @@ -1,2 +0,0 @@ -<p><a href="mailto:user@gmail.com">user@gmail.com</a></p> -<p>This is an entity: ê </p>
\ No newline at end of file diff --git a/tests/misc/numeric-entity.txt b/tests/misc/numeric-entity.txt deleted file mode 100644 index fd2052b..0000000 --- a/tests/misc/numeric-entity.txt +++ /dev/null @@ -1,4 +0,0 @@ - -<user@gmail.com> - -This is an entity: ê diff --git a/tests/misc/para-with-hr.html b/tests/misc/para-with-hr.html deleted file mode 100644 index 8569fec..0000000 --- a/tests/misc/para-with-hr.html +++ /dev/null @@ -1,3 +0,0 @@ -<p>Here is a paragraph, followed by a horizontal rule.</p> -<hr /> -<p>Followed by another paragraph.</p>
\ No newline at end of file diff --git a/tests/misc/para-with-hr.txt b/tests/misc/para-with-hr.txt deleted file mode 100644 index 20735fb..0000000 --- a/tests/misc/para-with-hr.txt +++ /dev/null @@ -1,4 +0,0 @@ -Here is a paragraph, followed by a horizontal rule. -*** -Followed by another paragraph. - diff --git a/tests/misc/php.html b/tests/misc/php.html deleted file mode 100644 index 8cd4ed5..0000000 --- a/tests/misc/php.html +++ /dev/null @@ -1,11 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" - "http://www.w3.org/TR/html4/strict.dtd"> - -<p><b>This should have a p tag</b></p> -<!--This is a comment --> - -<div>This shouldn't</div> - -<?php echo "block_level";?> - -<p><?php echo "not_block_level";?></p>
\ No newline at end of file diff --git a/tests/misc/php.txt b/tests/misc/php.txt deleted file mode 100644 index ca5be45..0000000 --- a/tests/misc/php.txt +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" - "http://www.w3.org/TR/html4/strict.dtd"> - -<b>This should have a p tag</b> - -<!--This is a comment --> - -<div>This shouldn't</div> - -<?php echo "block_level";?> - - <?php echo "not_block_level";?> - diff --git a/tests/misc/pre.html b/tests/misc/pre.html deleted file mode 100644 index a44ae12..0000000 --- a/tests/misc/pre.html +++ /dev/null @@ -1,13 +0,0 @@ -<pre> - -aaa - -bbb -</pre> - -<pre> -* and this is pre-formatted content -* and it should be printed just like this -* and not formatted as a list - -</pre>
\ No newline at end of file diff --git a/tests/misc/pre.txt b/tests/misc/pre.txt deleted file mode 100644 index 31243b5..0000000 --- a/tests/misc/pre.txt +++ /dev/null @@ -1,14 +0,0 @@ -<pre> - -aaa - -bbb -</pre> - -<pre> -* and this is pre-formatted content -* and it should be printed just like this -* and not formatted as a list - -</pre> - diff --git a/tests/misc/russian.html b/tests/misc/russian.html deleted file mode 100644 index 57c9688..0000000 --- a/tests/misc/russian.html +++ /dev/null @@ -1,6 +0,0 @@ -<h1>Недвард «Нед» Фландерс</h1> -<p><strong>Недвард «Нед» Фландерс</strong> (Nedward «Ned» Flanders) — вымышленный персонаж мультсериала «[Симпсоны][]», озвученный Гарри Ширером. Он и его семья живут по соседству от семьи Симпсонов. Набожный христианин, Нед является одним из столпов морали Спрингфилда. В эпизоде «Alone Again, Natura-Diddily» он овдовел, его жена Мод погибла в результате несчастного случая. </p> -<p>Нед был одним из первых персонажей в мультсериале, который не был членом семьи Симпсонов. Начиная с первых серий, он регулярно появляется в «Симпсонах». Считается, что Нед Фландерс был назван в честь улицы <em>Northeast Flanders St.</em> в <a href="http://www.portland.gov">Портленде</a>, Орегон, родном городе создателя мультсериала Мэтта Грейнинга]]. Надпись на указателе улицы <em>NE Flanders St.</em> хулиганы часто исправляли на <em>NED Flanders St.</em></p> -<h2>Биография</h2> -<p>Нед Фландерс родился в Нью-Йорке, его родители были битниками. Его отец в точности похож на взрослого Неда, только он носил козлиную бородку. Их отказ от воспитания Неда и то, что они, в общем-то, были плохими родителями («мы ничего в этом не понимаем и не знаем как начать») привело к тому, что Нед превратился в ужасного сорванца. В конце концов они согласились на экспериментальную восьмимесячную шлепологическую терапию Миннесотского Университета (воспоминания Неда в эпизоде «Hurricane Neddy»), которая научила его подавлять чувство злости. Побочным эфектом терапии стало то, что Нед стал ненавидеть своих родителей (это одна из двух вещей которые ненавидит Фландерс, вторая — отделения почты, чьи длинные очереди, суета и угрюмый персонал раздражают его).</p> -<p>У Неда есть странная привычка добавлять «дидли», «дадли» и другие бессмысленные слова в свои фразы при разговоре, например: «Hi-diddly-ho, neighbor-ino» («Приветик, соседушка»). Это результат сублимации его злости, вызванной сдерживанием гнева, который не имеет никакого другого выхода.</p>
\ No newline at end of file diff --git a/tests/misc/russian.txt b/tests/misc/russian.txt deleted file mode 100644 index a742065..0000000 --- a/tests/misc/russian.txt +++ /dev/null @@ -1,15 +0,0 @@ -Недвард «Нед» Фландерс -====================== - - -**Недвард «Нед» Фландерс** (Nedward «Ned» Flanders) — вымышленный персонаж мультсериала «[Симпсоны][]», озвученный Гарри Ширером. Он и его семья живут по соседству от семьи Симпсонов. Набожный христианин, Нед является одним из столпов морали Спрингфилда. В эпизоде «Alone Again, Natura-Diddily» он овдовел, его жена Мод погибла в результате несчастного случая. - -Нед был одним из первых персонажей в мультсериале, который не был членом семьи Симпсонов. Начиная с первых серий, он регулярно появляется в «Симпсонах». Считается, что Нед Фландерс был назван в честь улицы *Northeast Flanders St.* в [Портленде](http://www.portland.gov), Орегон, родном городе создателя мультсериала Мэтта Грейнинга]]. Надпись на указателе улицы *NE Flanders St.* хулиганы часто исправляли на _NED Flanders St._ - -## Биография - -Нед Фландерс родился в Нью-Йорке, его родители были битниками. Его отец в точности похож на взрослого Неда, только он носил козлиную бородку. Их отказ от воспитания Неда и то, что они, в общем-то, были плохими родителями («мы ничего в этом не понимаем и не знаем как начать») привело к тому, что Нед превратился в ужасного сорванца. В конце концов они согласились на экспериментальную восьмимесячную шлепологическую терапию Миннесотского Университета (воспоминания Неда в эпизоде «Hurricane Neddy»), которая научила его подавлять чувство злости. Побочным эфектом терапии стало то, что Нед стал ненавидеть своих родителей (это одна из двух вещей которые ненавидит Фландерс, вторая — отделения почты, чьи длинные очереди, суета и угрюмый персонал раздражают его). - -У Неда есть странная привычка добавлять «дидли», «дадли» и другие бессмысленные слова в свои фразы при разговоре, например: «Hi-diddly-ho, neighbor-ino» («Приветик, соседушка»). Это результат сублимации его злости, вызванной сдерживанием гнева, который не имеет никакого другого выхода. - - diff --git a/tests/misc/some-test.html b/tests/misc/some-test.html deleted file mode 100644 index a36d1ee..0000000 --- a/tests/misc/some-test.html +++ /dev/null @@ -1,66 +0,0 @@ -<hr /> -<ul> -<li> -<p>as if</p> -</li> -<li> -<p>as if2</p> -</li> -</ul> -<hr /> -<ul> -<li> -<p>as if</p> -</li> -<li> -<p>as if2</p> -</li> -</ul> -<hr /> -<ul> -<li>as if - non_code</li> -<li>as if2</li> -</ul> -<p>Markdown</p> -<ul> -<li>Python - is ok<ul> -<li>Therefore i am</li> -</ul> -</li> -<li> -<p>Perl sucks - big time</p> -<ul> -<li>But that's -ok</li> -</ul> -</li> -<li> -<p>Python is -ok - Or not?</p> -</li> -</ul> -<p>Here is a normal paragraph</p> -<ol> -<li>Another list -with a bunch of items</li> -<li> -<p>Mostly fruits</p> -<ol> -<li>Apple</li> -<li>Pare</li> -</ol> -</li> -</ol> -<p>asdfasdfasd</p> -<pre><code># This is a code example -import stuff - -Another code example -* Lists and similar stuff - -> Should be ignored -</code></pre>
\ No newline at end of file diff --git a/tests/misc/some-test.txt b/tests/misc/some-test.txt deleted file mode 100644 index 0708817..0000000 --- a/tests/misc/some-test.txt +++ /dev/null @@ -1,57 +0,0 @@ ----------------------- - -* as if - -* as if2 - ----------------------- - -* as if - -* as if2 - ----------------------- - -* as if - non_code -* as if2 - - - - -Markdown - -* Python - is ok - * Therefore i am - -* Perl sucks - big time - * But that's - ok - -* Python is -ok - Or not? - -Here is a normal paragraph - -1. Another list -with a bunch of items -2. Mostly fruits - - - - 3. Apple - 4. Pare - -asdfasdfasd - - - # This is a code example - import stuff - - Another code example - * Lists and similar stuff - - > Should be ignored diff --git a/tests/misc/span.html b/tests/misc/span.html deleted file mode 100644 index bafcf0f..0000000 --- a/tests/misc/span.html +++ /dev/null @@ -1,6 +0,0 @@ -<p><span id="someId"> Foo <em>bar</em> Baz </span></p> -<div><b>*foo*</b></div> - -<div id="someId"> Foo *bar* Baz </div> - -<p><baza id="someId"> Foo <em>bar</em> Baz </baza></p>
\ No newline at end of file diff --git a/tests/misc/span.txt b/tests/misc/span.txt deleted file mode 100644 index 62bcf9b..0000000 --- a/tests/misc/span.txt +++ /dev/null @@ -1,10 +0,0 @@ - -<span id="someId"> Foo *bar* Baz </span> - -<div><b>*foo*</b></div> - -<div id="someId"> Foo *bar* Baz </div> - -<baza id="someId"> Foo *bar* Baz </baza> - - diff --git a/tests/misc/strong-with-underscores.html b/tests/misc/strong-with-underscores.html deleted file mode 100644 index 08e6744..0000000 --- a/tests/misc/strong-with-underscores.html +++ /dev/null @@ -1 +0,0 @@ -<p><strong>this_is_strong</strong></p>
\ No newline at end of file diff --git a/tests/misc/strong-with-underscores.txt b/tests/misc/strong-with-underscores.txt deleted file mode 100644 index 1a3544f..0000000 --- a/tests/misc/strong-with-underscores.txt +++ /dev/null @@ -1 +0,0 @@ -__this_is_strong__ diff --git a/tests/misc/stronintags.html b/tests/misc/stronintags.html deleted file mode 100644 index cf18bd0..0000000 --- a/tests/misc/stronintags.html +++ /dev/null @@ -1,4 +0,0 @@ -<p>this is a <a href="http://example.com/"><strong>test</strong></a></p> -<p>this is a second <strong><a href="http://example.com">test</a></strong></p> -<p>reference <strong>[test][]</strong> -reference [<strong>test</strong>][]</p>
\ No newline at end of file diff --git a/tests/misc/stronintags.txt b/tests/misc/stronintags.txt deleted file mode 100644 index 01c118f..0000000 --- a/tests/misc/stronintags.txt +++ /dev/null @@ -1,8 +0,0 @@ -this is a [**test**](http://example.com/) - -this is a second **[test](http://example.com)** - -reference **[test][]** -reference [**test**][] - - diff --git a/tests/misc/tabs-in-lists.html b/tests/misc/tabs-in-lists.html deleted file mode 100644 index a1a92ec..0000000 --- a/tests/misc/tabs-in-lists.html +++ /dev/null @@ -1,42 +0,0 @@ -<p>First a list with a tabbed line</p> -<ul> -<li> -<p>A</p> -</li> -<li> -<p>B</p> -</li> -</ul> -<p>Just a blank line:</p> -<ul> -<li> -<p>A</p> -</li> -<li> -<p>B</p> -</li> -</ul> -<p>Now a list with 4 spaces and some text:</p> -<ul> -<li>A -abcdef</li> -<li>B</li> -</ul> -<p>Now with a tab and an extra space:</p> -<ul> -<li> -<p>A</p> -</li> -<li> -<p>B</p> -</li> -</ul> -<p>Now a list with 4 spaces:</p> -<ul> -<li> -<p>A</p> -</li> -<li> -<p>B</p> -</li> -</ul>
\ No newline at end of file diff --git a/tests/misc/tabs-in-lists.txt b/tests/misc/tabs-in-lists.txt deleted file mode 100644 index 05fde23..0000000 --- a/tests/misc/tabs-in-lists.txt +++ /dev/null @@ -1,32 +0,0 @@ -First a list with a tabbed line - -* A - -* B - -Just a blank line: - -* A - -* B - - -Now a list with 4 spaces and some text: - -* A - abcdef -* B - - -Now with a tab and an extra space: - -* A - -* B - -Now a list with 4 spaces: - -* A - -* B - diff --git a/tests/misc/two-spaces.html b/tests/misc/two-spaces.html deleted file mode 100644 index 102d1db..0000000 --- a/tests/misc/two-spaces.html +++ /dev/null @@ -1,21 +0,0 @@ -<p>This line has two spaces at the end<br /> -but this one has none -but this line has three <br /> -and this is the second from last line -in this test message</p> -<ul> -<li>This list item has two spaces.<br /> -</li> -<li> -<p>This has none. - This line has three. <br /> - This line has none. - And this line two.<br /> -</p> -<p>This line has none.</p> -</li> -<li> -<p>This line has none.</p> -</li> -</ul> -<p>And this is the end.</p>
\ No newline at end of file diff --git a/tests/misc/two-spaces.txt b/tests/misc/two-spaces.txt deleted file mode 100644 index 61c19f7..0000000 --- a/tests/misc/two-spaces.txt +++ /dev/null @@ -1,17 +0,0 @@ -This line has two spaces at the end -but this one has none -but this line has three -and this is the second from last line -in this test message - -* This list item has two spaces. -* This has none. - This line has three. - This line has none. - And this line two. - - This line has none. - -* This line has none. - -And this is the end. diff --git a/tests/misc/uche.html b/tests/misc/uche.html deleted file mode 100644 index e62329d..0000000 --- a/tests/misc/uche.html +++ /dev/null @@ -1,3 +0,0 @@ -<p><img alt="asif" src="http://fourthought.com/images/ftlogo.png" title="Fourthought logo" /></p> -<p><a href="http://fourthought.com/"><img alt="" src="http://fourthought.com/images/ftlogo.png" style="float: left; margin: 10px; border: none;" title="Fourthought logo" /></a></p> -<p><a href="http://link.com/"><img alt="text" src="x" /></a></p>
\ No newline at end of file diff --git a/tests/misc/uche.txt b/tests/misc/uche.txt deleted file mode 100644 index a3dda1a..0000000 --- a/tests/misc/uche.txt +++ /dev/null @@ -1,7 +0,0 @@ -![asif](http://fourthought.com/images/ftlogo.png "Fourthought logo") - -[![{@style=float: left; margin: 10px; border: -none;}](http://fourthought.com/images/ftlogo.png "Fourthought -logo")](http://fourthought.com/) - -[![text](x)](http://link.com/) diff --git a/tests/misc/underscores.html b/tests/misc/underscores.html deleted file mode 100644 index 54bd9f9..0000000 --- a/tests/misc/underscores.html +++ /dev/null @@ -1,6 +0,0 @@ -<p>THIS_SHOULD_STAY_AS_IS</p> -<p>Here is some <em>emphasis</em>, ok?</p> -<p>Ok, at least <em>this</em> should work.</p> -<p>THIS<strong>SHOULD</strong>STAY</p> -<p>Here is some <strong>strong</strong> stuff.</p> -<p>THIS<strong><em>SHOULD</em></strong>STAY?</p>
\ No newline at end of file diff --git a/tests/misc/underscores.txt b/tests/misc/underscores.txt deleted file mode 100644 index 3c7f4bd..0000000 --- a/tests/misc/underscores.txt +++ /dev/null @@ -1,11 +0,0 @@ -THIS_SHOULD_STAY_AS_IS - -Here is some _emphasis_, ok? - -Ok, at least _this_ should work. - -THIS__SHOULD__STAY - -Here is some __strong__ stuff. - -THIS___SHOULD___STAY? diff --git a/tests/misc/url_spaces.html b/tests/misc/url_spaces.html deleted file mode 100644 index ebacb75..0000000 --- a/tests/misc/url_spaces.html +++ /dev/null @@ -1,2 +0,0 @@ -<p><a href="http://wikipedia.org/wiki/Dawn of War">Dawn of War</a></p> -<p><a href="http://wikipedia.org/wiki/Dawn of War" title="Dawn of War">Dawn of War</a></p>
\ No newline at end of file diff --git a/tests/misc/url_spaces.txt b/tests/misc/url_spaces.txt deleted file mode 100644 index 3d2a82d..0000000 --- a/tests/misc/url_spaces.txt +++ /dev/null @@ -1,4 +0,0 @@ -[Dawn of War](http://wikipedia.org/wiki/Dawn of War) - - -[Dawn of War](http://wikipedia.org/wiki/Dawn of War "Dawn of War") |