Module: Ciridiri
- Included in:
- Application, Page
- Defined in:
- lib/ciridiri/page.rb,
lib/ciridiri/paths.rb,
lib/ciridiri/finders.rb
Defined Under Namespace
Modules: Finders, Paths Classes: Application, Page
Constant Summary collapse
- MD_TITLE =
A regular expression for markdown like headers (‘#`, `##`, `###`, `=====`, `—-`)
Regexp.new("(^\#{1,3}\\s*?([^#].*?)#*$)|(^ {0,3}(\\S.*?)\\n(?:=|-)+(?=\\n+|\\Z))", Regexp::MULTILINE)
- HTML_TITLE =
HTML headers (‘<h1-3>`)
Regexp.new("^<h[1-3](.*)?>((.*)+)</h[1-3]>")
- SOURCE_FILE_EXT =
File extensions
".text".freeze
- CACHED_FILE_EXT =
".html".freeze