lib/slideshow/config.rb in slideshow-2.2.0 vs lib/slideshow/config.rb in slideshow-2.3.0

- old
+ new

@@ -173,10 +173,14 @@ def known_textile_extnames @props.fetch_from_section( 'textile', 'extnames', [] ) end + def known_mediawiki_extnames + @props.fetch_from_section( 'mediawiki', 'extnames', [] ) + end + def known_markdown_extnames ## delegate config to Markdown gem for now ## todo/fix: how to pass on setting to Markdown gem?? Markdown.extnames end @@ -190,10 +194,10 @@ # extnames: [ .textile, .t ] # # ruby check: is it better self. ?? or more confusing # possible conflict only with write access (e.g. prop=) - known_textile_extnames + known_markdown_extnames + known_rest_extnames + known_textile_extnames + known_markdown_extnames + known_mediawiki_extnames + known_rest_extnames end def text_filters @props.fetch( 'filters', [] ) end \ No newline at end of file