Sha256: e98a8a8c40f69e1d2018442e9e9b8a67821eaf169fcdde1cff8a45645c023953

Contents?: true

Size: 488 Bytes

Versions: 14

Compression:

Stored size: 488 Bytes

Contents

# ~*~ encoding: utf-8 ~*~
module Gollum
  class Markup
    register(:markdown,  "Markdown", :regexp => /md|mkdn?|mdown|markdown/)
    register(:textile,   "Textile")
    register(:rdoc,      "RDoc")
    register(:org,       "Org-mode")
    register(:creole,    "Creole")
    register(:rest,      "reStructuredText", :regexp => /re?st(\.txt)?/)
    register(:asciidoc,  "AsciiDoc")
    register(:mediawiki, "MediaWiki", :regexp => /(media)?wiki/)
    register(:pod,       "Pod")
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
gitlab-gollum-lib-1.1.0 lib/gollum-lib/markups.rb
gitlab-gollum-lib-1.0.2 lib/gollum-lib/markups.rb
gollum-lib-1.0.9 lib/gollum-lib/markups.rb
gollum-lib-1.0.8 lib/gollum-lib/markups.rb
gollum-lib-1.0.7 lib/gollum-lib/markups.rb
gollum-lib-1.0.6 lib/gollum-lib/markups.rb
gollum-lib-1.0.5 lib/gollum-lib/markups.rb
gollum-lib-1.0.4 lib/gollum-lib/markups.rb
gitlab-gollum-lib-1.0.1 lib/gollum-lib/markups.rb
gollum-lib-1.0.3 lib/gollum-lib/markups.rb
gollum-lib-1.0.2 lib/gollum-lib/markups.rb
gollum-lib-1.0.1 lib/gollum-lib/markups.rb
gitlab-gollum-lib-1.0.0 lib/gollum-lib/markups.rb
gollum-lib-1.0.0 lib/gollum-lib/markups.rb