From f6f792d460846194d0e23264879547fabf1f3809 Mon Sep 17 00:00:00 2001 From: Seong Jae Lee Date: Sun, 12 Apr 2015 10:32:13 -0700 Subject: [PATCH] Make sure testdata won't have copyright issues. Fix #7 --- testdata/Atom.md | 22 +++++++++++++++++ testdata/{car.md => Car.md} | 15 +++++++++++ testdata/Car/Mini.md | 10 ++++++++ testdata/Car/Prius.md | 10 ++++++++ testdata/Markdown.md | 37 ++++++++++++++++++++++++++++ testdata/Notational Velocity.md | 14 +++++++++++ testdata/commonmark.md | 32 ------------------------ testdata/evernote.md | 3 --- testdata/github_flavored_markdown.md | 3 --- testdata/markdown.md | 25 ------------------- testdata/multimarkdown.md | 29 ---------------------- testdata/notational_velocity.md | 14 ----------- testdata/nvalt.md | 22 ----------------- testdata/united_states.md | 3 --- 14 files changed, 108 insertions(+), 131 deletions(-) create mode 100644 testdata/Atom.md rename testdata/{car.md => Car.md} (52%) create mode 100644 testdata/Car/Mini.md create mode 100644 testdata/Car/Prius.md create mode 100644 testdata/Markdown.md create mode 100644 testdata/Notational Velocity.md delete mode 100644 testdata/commonmark.md delete mode 100644 testdata/evernote.md delete mode 100644 testdata/github_flavored_markdown.md delete mode 100644 testdata/markdown.md delete mode 100644 testdata/multimarkdown.md delete mode 100644 testdata/notational_velocity.md delete mode 100644 testdata/nvalt.md delete mode 100644 testdata/united_states.md diff --git a/testdata/Atom.md b/testdata/Atom.md new file mode 100644 index 0000000..514159b --- /dev/null +++ b/testdata/Atom.md @@ -0,0 +1,22 @@ +# Atom + +Atom is a free and open-source text and source code editor for OS X, Linux, and Windows with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub. Most of the extending packages have free software licenses and are community-built and maintained. Atom is based on Chromium and written in CoffeeScript. It can also be used as an IDE. + +## License + +Initially, extension packages for Atom and anything not part of Atom's core were released under an open-source license. On 6 May 2014, the rest of Atom, including the core application, Atom's package manager, and Atom's Chromium-based desktop application framework, Atom Shell, were released as free software under the MIT License. + +## External links + +- [Official website][1] +- [Repository on GitHub][2] + +[1]: https://atom.io/ +[2]: https://github.com/atom/atom + +---- + +This article uses material from the Wikipedia article ["Atom (text editor)"][3], which is released under the [Creative Commons Attribution-Share-Alike License 3.0][4]. + +[3]: http://en.wikipedia.org/wiki/Atom_(text_editor) +[4]: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/testdata/car.md b/testdata/Car.md similarity index 52% rename from testdata/car.md rename to testdata/Car.md index f0345c7..739734b 100644 --- a/testdata/car.md +++ b/testdata/Car.md @@ -3,3 +3,18 @@ A car is a wheeled, self-powered motor vehicle used for transportation. Most definitions of the term specify that cars are designed to run primarily on roads, to have seating for one to eight people, to typically have four wheels, and to be constructed principally for the transport of people rather than goods.The year 1886 is regarded as the birth year of the modern car. In that year, German inventor Karl Benz built the Benz Patent-Motorwagen. Cars did not become widely available until the early 20th century. One of the first cars that was accessible to the masses was the 1908 Model T, an American car manufactured by the Ford Motor Company. Cars were rapidly adopted in the United States of America, where they replaced animal-drawn carriages and carts, but took much longer to be accepted in Western Europe and other less-developed parts of the world. Cars are equipped with controls used for driving, parking, and passenger comfort and safety. New controls have also been added to vehicles, making them more complex. Examples include air conditioning, navigation systems, and in car entertainment. Most cars in use today are propelled by an internal combustion engine, fueled by deflagration of gasoline (also known as petrol) or diesel. Both fuels are known to cause air pollution and are also blamed for contributing to climate change and global warming. Vehicles using alternative fuels such as ethanol flexible-fuel vehicles and natural gas vehicles are also gaining popularity in some countries. + +## Etymology + +The word "car" is believed to originate from the Latin word carrus or carrum ("wheeled vehicle"), or the Middle English word carre (meaning cart, from Old North French). In turn, these originated from the Gaulish word karros (a Gallic chariot). The Gaulish language was a branch of the Brythoic language which also used the word Karr; the Brythonig language evolved into Welsh (and Gaelic) where 'Car llusg' (a drag cart or sledge) and 'car rhyfel' (war chariot) still survive. It originally referred to any wheeled horse-drawn vehicle, such as a cart, carriage, or wagon. "Motor car" is attested from 1895, and is the usual formal name for cars in British English. "Autocar" is a variant that is also attested from 1895, but that is now considered archaic. It literally means "self-propelled car". + +## Lighting + +Cars are typically fitted with multiple types of lights, these are used to illuminate the way so that the vehicle can be used at night, to indicate turn intentions of the driver, and to display that the vehicle is braking. Additionally courtesy lights are usually fitted for the passengers. + +---- + +This article uses material from the Wikipedia article ["Car"][1], which is released under the [Creative Commons Attribution-Share-Alike License 3.0][2]. + +[1]: http://en.wikipedia.org/wiki/Car +[2]: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/testdata/Car/Mini.md b/testdata/Car/Mini.md new file mode 100644 index 0000000..03126cb --- /dev/null +++ b/testdata/Car/Mini.md @@ -0,0 +1,10 @@ +# Mini + +The Mini is a small economy car made by the British Motor Corporation (BMC) and its successors from 1959 until 2000. The original is considered a British icon of the 1960s. + +---- + +This article uses material from the Wikipedia article ["Mini"][1], which is released under the [Creative Commons Attribution-Share-Alike License 3.0][2]. + +[1]: http://en.wikipedia.org/wiki/Mini +[2]: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/testdata/Car/Prius.md b/testdata/Car/Prius.md new file mode 100644 index 0000000..d346b08 --- /dev/null +++ b/testdata/Car/Prius.md @@ -0,0 +1,10 @@ +# Toyota Prius + +The Toyota Prius (/ˈpriːəs/) is a full hybrid electric mid-size hatchback, formerly a compact sedan developed and manufactured by Toyota. The EPA and California Air Resources Board (CARB) rate the Prius as among the cleanest vehicles sold in the United States based on smog-forming emissions. + +---- + +This article uses material from the Wikipedia article ["Toyota Prius"][1], which is released under the [Creative Commons Attribution-Share-Alike License 3.0][2]. + +[1]: http://en.wikipedia.org/wiki/Toyota_Prius +[2]: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/testdata/Markdown.md b/testdata/Markdown.md new file mode 100644 index 0000000..da743cb --- /dev/null +++ b/testdata/Markdown.md @@ -0,0 +1,37 @@ +# Markdown + +Markdown is a markup language with plain text formatting syntax designed so that it can be converted to HTML and many other formats using a tool by the same name. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor. + +## History + +John Gruber, with substantial contributions from Aaron Swartz, created the Markdown language in 2004 with the goal of enabling people "to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid XHTML (or HTML)". + +Taking cues from existing conventions for marking up plain text in email, such as setext, the language was designed to be readable as-is, without looking like it's been marked up with tags or formatting instructions, unlike text formatted with a markup language, such as Rich Text Format (RTF) or HTML, which have obvious tags and formatting instructions. + +## Standardization + +There is no clearly defined Markdown standard, apart from the original writeup and implementation by John Gruber, which some consider to be abandonware. This has led to fragmentation as different vendors write their own variants of the language to correct flaws or add missing features. + +From 2012 through 2014, a group of people including Jeff Atwood launched what Atwood characterized as a standardization effort. A community website now aims to "document various tools and resources available to document authors and developers, as well as implementors of the various markdown implementations". In September 2014, Gruber objected to the usage of "Markdown" in the name of this effort and it was rebranded as a new dialect named "CommonMark". + +## Editors + +While Markdown is a minimal markup language and is easily read and edited with a normal text editor, there are specially designed editors that preview the files with styles. There are a variety of such editors available for all major platforms. There are syntax highlighting plugins for Markdown built into emacs, gedit, and vim. + +## GitHub Flavored Markdown + +GitHub Flavored Markdown (GFM) adds syntax highlighting, task lists, and tables. It has several implementations: + +- "Grip - Github Readme Instant Preview" (Joe Esposito) - Python +- "Vim-Flavored-Markdown" (Jeff Tratner) - Vim scripting +- "GitHub-Flavored Markdown Comments" (Evan Solomon) - PHP WordPress plugin +- "Markdown on Save" (Mark Jaquith) - PHP WordPress plugin +- "Node-GFM" (Gabriel Llamas) - JavaScript +- "Parsedown" (Emanuil Rusev) - PHP + +---- + +This article uses material from the Wikipedia article ["Markdown"][1], which is released under the [Creative Commons Attribution-Share-Alike License 3.0][2]. + +[1]: http://en.wikipedia.org/wiki/Markdown +[2]: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/testdata/Notational Velocity.md b/testdata/Notational Velocity.md new file mode 100644 index 0000000..f3e019b --- /dev/null +++ b/testdata/Notational Velocity.md @@ -0,0 +1,14 @@ +# Notational Velocity + +[Notational Velocity][1] is a computer program for Mac OS X used for notetaking. It allows users to create notes using solely a computer keyboard and search them using incremental find. Other features include database encryption, basic text formatting, tags and spellcheck. In addition, users can synchronize notes with Simplenote and export to a variety of formats, including plain text, HTML and rich text. It has been recommended along with Simplenote as a solution for taking and syncing notes by both Wired and Lifehacker. + +Although Notational Velocity itself hasn't seen any development activity for some time, the nvALT fork is actively developed and has many additional features. + +[1]: http://notational.net/ + +---- + +This article uses material from the Wikipedia article ["Notational Velocity"][1], which is released under the [Creative Commons Attribution-Share-Alike License 3.0][2]. + +[2]: http://en.wikipedia.org/wiki/Notational_Velocity +[3]: http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/testdata/commonmark.md b/testdata/commonmark.md deleted file mode 100644 index 52c8bec..0000000 --- a/testdata/commonmark.md +++ /dev/null @@ -1,32 +0,0 @@ -# CommonMark - -## Why is a spec needed? - -John Gruber’s canonical description of Markdown’s syntax does not specify the syntax unambiguously. - -In the absence of a spec, early implementers consulted the original `Markdown.pl` code to resolve these ambiguities. But `Markdown.pl` was quite buggy, and gave manifestly bad results in many cases, so it was not a satisfactory replacement for a spec. - -Because there is no unambiguous spec, implementations have diverged considerably. As a result, users are often surprised to find that a document that renders one way on one system (say, a GitHub wiki) renders differently on another (say, converting to docbook using Pandoc). To make matters worse, because nothing in Markdown counts as a “syntax error,” the divergence often isn't discovered right away. - -There's no standard test suite for Markdown; [the unofficial MDTest](https://github.com/michelf/mdtest/) is the closest thing we have. The only way to resolve Markdown ambiguities and inconsistencies is [Babelmark](http://johnmacfarlane.net/babelmark2/), which compares the output of 20+ implementations of Markdown against each other to see if a consensus emerges. - -We propose a standard, unambiguous syntax specification for Markdown, along with a suite of comprehensive tests to validate Markdown implementations against this specification. We believe this is necessary, even essential, for the future of Markdown. - -That's what we call CommonMark. - -## Who are you? - -We're a group of Markdown fans who either work at companies with industrial scale deployments of Markdown, have written Markdown parsers, have extensive experience supporting Markdown with end users – or all of the above. - -- John MacFarlane, jgm@berkeley.edu -- David Greenspan, david@meteor.com -- Vicent Marti, vicent@github.com -- Neil Williams, neil@reddit.com -- Benjamin Dumke-von der Ehe, ben@stackexchange.com -- Jeff Atwood, jatwood@codinghorror.com - -# When is the spec final? - -The current version of the CommonMark spec is complete (two years in the making!), but provisional pending public feedback, testing, and evaluation. - -With your help, we plan to announce a finalized 1.0 spec and test suite in the next few months, along with implementations in many different languages. diff --git a/testdata/evernote.md b/testdata/evernote.md deleted file mode 100644 index b1201a6..0000000 --- a/testdata/evernote.md +++ /dev/null @@ -1,3 +0,0 @@ -# Evernote - -Evernote is a suite of software and services, designed for notetaking and archiving. A "note" can be a piece of formatted text, a full webpage or webpage excerpt, a photograph, a voice memo, or a handwritten "ink" note. Notes can also have file attachments. Notes can be sorted into folders, then tagged, annotated, edited, given comments, searched and exported as part of a notebook. diff --git a/testdata/github_flavored_markdown.md b/testdata/github_flavored_markdown.md deleted file mode 100644 index 16945a4..0000000 --- a/testdata/github_flavored_markdown.md +++ /dev/null @@ -1,3 +0,0 @@ -# Github Flavored Markdown - -GitHub uses "GitHub Flavored Markdown," or GFM, across the site--in issues, comments, and pull requests. It differs from standard Markdown (SM) in a few significant ways, and adds some additional functionality. diff --git a/testdata/markdown.md b/testdata/markdown.md deleted file mode 100644 index 85792d4..0000000 --- a/testdata/markdown.md +++ /dev/null @@ -1,25 +0,0 @@ -# Markdown - -Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). - -Thus, “Markdown” is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML. See the Syntax page for details pertaining to Markdown’s formatting syntax. You can try it out, right now, using the online Dingus. - -The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email. - -## Getting the Gist of Markdown's Formatting Syntax - -This page offers a brief overview of what it’s like to use Markdown. The syntax page provides complete, detailed documentation for every feature, but Markdown should be very easy to pick up simply by looking at a few examples of it in action. The examples on this page are written in a before/after style, showing example syntax and the HTML output produced by Markdown. - -It’s also helpful to simply try Markdown out; the Dingus is a web application that allows you type your own Markdown-formatted text and translate it to XHTML. - -## History - -John Gruber, with substantial contributions from Aaron Swartz, created the Markdown language in 2004 with the goal of enabling people "to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid XHTML (or HTML)”. - -Taking cues from existing conventions for marking up plain text in email, such as setext, the language was designed to be readable as-is, without looking like it's been marked up with tags or formatting instructions, unlike text formatted with a markup language, such as Rich Text Format (RTF) or HTML, which have obvious tags and formatting instructions. - -## Standardization - -There is no clearly defined Markdown standard, apart from the original writeup and implementation by John Gruber, which some consider to be abandonware. This has led to fragmentation as different vendors write their own variants of the language to correct flaws or add missing features. - -From 2012 through 2014, a group of people including Jeff Atwood launched what Atwood characterized as a standardization effort. A community website now aims to "document various tools and resources available to document authors and developers, as well as implementors of the various markdown implementations". In September 2014, Gruber objected to the usage of "Markdown" in the name of this effort and it was rebranded as a new dialect named "CommonMark". diff --git a/testdata/multimarkdown.md b/testdata/multimarkdown.md deleted file mode 100644 index 7b1e8de..0000000 --- a/testdata/multimarkdown.md +++ /dev/null @@ -1,29 +0,0 @@ -# MultiMarkdown - -> “As the world goes multi-platform with all of the new mobile operating systems, MultiMarkdown provides an easy way to share formatting between all of my devices. It’s easy to learn (even for us mortals) and immediately useful.” -> -> \- David Sparks, [MacSparky.com](http://macsparky.com) - -> “Personally, it’s changed my game — it’s how I think now. Can’t imagine writing more than a paragraph in anything that doesn’t do MMD.” -> -> \- Merlin Mann, kung fu grippe - -## What is MultiMarkdown? - -MultiMarkdown, or MMD, is a tool to help turn minimally marked-up plain text into well formatted documents, including HTML, PDF (by way of LaTeX), OPML, or OpenDocument (specifically, Flat OpenDocument or ‘.fodt’, which can in turn be converted into RTF, Microsoft Word, or virtually any other word-processing format). - -MMD is a superset of the Markdown syntax, originally created by John Gruber. It adds multiple syntax features (tables, footnotes, and citations, to name a few), in addition to the various output formats listed above (Markdown only creates HTML). Additionally, it builds in “smart” typography for various languages (proper left- and right-sided quotes, for example). - -MultiMarkdown started as a Perl script, which was modified from the original Markdown.pl. - -MultiMarkdown v3 (aka ‘peg-multimarkdown’) was based on John MacFarlane’s peg-markdown. It used a parsing expression grammar (PEG), and was written in C in order to compile on almost any operating system. Thanks to work by Daniel Jalkut, MMD v3 was built so that it didn’t have any external library requirements. - -MultiMarkdown v4 is basically a complete rewrite of v3. It uses the same basic PEG for parsing (Multi)Markdown text, but otherwise is almost completely rebuilt: - -- The code is designed to be easier to maintain — it’s divided into separate files on a more logical structure -- All memory leaks (to my knowledge) have been fixed -- [greg] is used instead of [peg/leg] to create the parser — this allows the parser to be thread-safe -- The [test suite] has been modified to account for several improvements. MMD should fail one of the basic Markdown tests (see peg-markdown for more information). Currently it fails one of the LaTeX tests — this is not intentional and I am working on a fix. -- Command line options are slightly different. - -For another description of what MultiMarkdown is, you can also check out a PDF slide show that describes and demonstrates how MultiMarkdown can be used. diff --git a/testdata/notational_velocity.md b/testdata/notational_velocity.md deleted file mode 100644 index 549a821..0000000 --- a/testdata/notational_velocity.md +++ /dev/null @@ -1,14 +0,0 @@ -# Notational Velocity - -NOTATIONAL VELOCITY is an application that stores and retrieves notes. - -It is an attempt to loosen the mental blockages to recording information and to scrape away the tartar of convention that handicaps its retrieval. The solution is by nature nonconformist. - -## Unique Characteristics - -- __Modeless Operation__: Searching for notes is not a separate action; rather, it is the primary interface. -- __Incremental Search__: Searching encompasses all notes' content and occurs instantly with each key pressed. -- __Transparent Database Encryption__: All content is compressed and encrypted (enabled optionally) before it is recorded to disk. -- __Mouseless Interaction__: Notational Velocity's window was designed for keyboard input above all else, and thus has no buttons. -- __Data Instead of Documents__: There is no manual "saving" in Notational Velocity; all modifications take effect immediately. -- __Complete External Access__: Synchronize natively with Simplenote, or via files in Dropbox with PlainText, Elements, iA Writer, and other iOS apps. diff --git a/testdata/nvalt.md b/testdata/nvalt.md deleted file mode 100644 index 5d4790d..0000000 --- a/testdata/nvalt.md +++ /dev/null @@ -1,22 +0,0 @@ -# nvALT - -## What it is - -Notational Velocity is a way to take notes quickly and effortlessly using just your keyboard. You press a shortcut to bring up the window and just start typing. It will begin searching existing notes, filtering them as you type. You can use ⌘-J and ⌘-K to move through the list. Enter selects and begins editing. If you’re creating a new note, you just type a unique title and press enter to move the cursor into a blank edit area. Check out the descriptions at notational.net for a more eloquent synopsis. - -## Notational Velocity Features - -- Option for horizontal layout with multi-line previews in notes list -- Words between [[double-brackets]] will become links to other notes -- Tags are synced to Dropbox and searched by Spotlight, via OpenMeta -- Tags are auto-completed while typing in the tag-entry field -- TaskPaper-compatible strikethrough formatting using the “@done” tag -- Fully plain-text-based automatic list-bullet formatting -- Note-titles inside double-brackets are (optionally) auto-completed -- “Show in Finder” command for revealing selected note-files on disk -- Highlighting of search terms can be disabled -- Dragging the divider to the top or left of the window will hide search field -- and more http://notational.net/releasenotes/release2/ -- Open in external text editor - -## nvALT Additional Features diff --git a/testdata/united_states.md b/testdata/united_states.md deleted file mode 100644 index ffd06dc..0000000 --- a/testdata/united_states.md +++ /dev/null @@ -1,3 +0,0 @@ -# United States - -The United States of America (USA or U.S.A.), commonly referred to as the United States (US or U.S.), America, and sometimes the States, is a federal republic consisting of 50 states and a federal district. The 48 contiguous states and Washington, D.C., are in central North America between Canada and Mexico. The state of Alaska is the northwestern part of North America and the state of Hawaii is an archipelago in the mid-Pacific. The country also has five populated and nine unpopulated territories in the Pacific and the Caribbean. At 3.80 million square miles (9.85 million km2) and with around 318 million people, the United States is the world's third- or fourth-largest country by total area and third-largest by population. It is one of the world's most ethnically diverse and multicultural nations, the product of large-scale immigration from many countries. The geography and climate of the United States is also extremely diverse, and it is home to a wide variety of wildlife.