diff --git a/Gemfile b/Gemfile index 5ed3ed5a..d8a3a0c3 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,4 @@ gem "org-ruby", ">= 0.7.0" gem "creole", "~>0.3.6" gem "wikicloth", "=0.6.0" gem "rake" +gem "faqml" diff --git a/lib/github/markups.rb b/lib/github/markups.rb index 9223d1d0..47d381a5 100644 --- a/lib/github/markups.rb +++ b/lib/github/markups.rb @@ -24,6 +24,10 @@ RedCloth.new(content).to_html end +markup(:faqml, /faqml|fml/) do |content| + FML.new(content).to_html +end + markup('github/markup/rdoc', /rdoc/) do |content| GitHub::Markup::RDoc.new(content).to_html end diff --git a/test/markups/README.fml b/test/markups/README.fml new file mode 100644 index 00000000..e0f44083 --- /dev/null +++ b/test/markups/README.fml @@ -0,0 +1,9 @@ +What kind of Bear is Best? +I hear there are basically two school of thought. +=== +False. *Blackbear*. + +--- +Do Bears eat Beats? +=== +Of course. \ No newline at end of file diff --git a/test/markups/README.fml.html b/test/markups/README.fml.html new file mode 100644 index 00000000..3fc963b1 --- /dev/null +++ b/test/markups/README.fml.html @@ -0,0 +1,9 @@ +
+

What kind of Bear is Best?

+

I hear there are basically two school of thought.

+

False. Blackbear.

+
+
+

Do Bears eat Beats?

+

Of course.

+
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy