guides icon indicating copy to clipboard operation
guides copied to clipboard

Custom Markdown Extensions

Open Jotschi opened this issue 12 years ago • 1 comments

It would be great to be able to add custom markdown extensions. In my guide i want to be able to write:

CUSTOM_NOTE: "some text"

That textile code should result in any html i specified. I noticed that the guides/markdown_extensions already contains some extensions. I want to be able to add a custom ruby file to my guides project which itself contains the custom markdown extensions. I don't want to modify the guides sources itself.

Jotschi avatar Nov 05 '12 11:11 Jotschi

The best thing would be to add a dynamic require inside of guides.rb

e.g:

require "#{root}/guides_extension"

Jotschi avatar Nov 05 '12 14:11 Jotschi