discourse/plugins/discourse-details
Sam 234694b50f Feature: CommonMark support
This adds the markdown.it engine to Discourse.
https://github.com/markdown-it/markdown-it

As the migration is going to take a while the new engine is default
disabled. To enable it you must change the hidden site setting:
enable_experimental_markdown_it.

This commit is a squash of many other commits, it also includes some
improvements to autospec (ability to run plugins), and a dev dependency
on the og gem for html normalization.
2017-06-23 12:01:33 -04:00
..
assets Feature: CommonMark support 2017-06-23 12:01:33 -04:00
config correct issues with pr 2017-05-24 12:37:27 -04:00
spec/components Fix the build. 2016-07-20 14:11:10 +08:00
test/javascripts Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
README.md formally remove IE9 support 2016-01-02 23:49:52 -08:00
plugin.rb REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00

README.md

discourse-details

HTML 5.1 <details> polyfill for Discourse.

NOTE: Does not work on IE9, but we don't support IE9 as of Jan 1 2016.

Usage

In your posts, surround text with [details=your summary] ... [/details]. For example:

   I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].

Installation

Follow our Install a Plugin howto, using git clone https://github.com/discourse/discourse-details.git as the plugin command.

Issues

If you have issues or suggestions for the plugin, please bring them up on Discourse Meta.

License

MIT