Sha256: 794d802047cce26838df770d69e26fa7aec4ad85bc0272cd6d5cb818f161ea22
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
# frozen_string_literal: true module Thredded # Content for demo-ing formatting functionality module FormattingDemoContent class << self attr_accessor :parts end self.parts = [ <<~'MARKDOWN', #### Spoilers Use `<spoiler></spoiler>` tags to create spoiler boxes like this one: <spoiler> Harry Potter books are better than the movies.  https://www.youtube.com/watch?v=5lBBUPVuusM </spoiler> #### Oneboxes URLs of supported resources are replaced with boxes like these: **Twitter** `https://twitter.com/thredded/status/838824533477982209`: https://twitter.com/thredded/status/838824533477982209 **StackExchange** `http://codegolf.stackexchange.com/questions/45701`: http://codegolf.stackexchange.com/questions/45701 **Amazon** `https://www.amazon.co.uk/dp/0521797071`: https://www.amazon.co.uk/dp/0521797071 **YouTube** `https://www.youtube.com/watch?v=1QP7elXwpLw`: https://www.youtube.com/watch?v=1QP7elXwpLw **Google Maps** `https://goo.gl/maps/R6nj3Qwf2LR2`: https://goo.gl/maps/R6nj3Qwf2LR2 Many more resources are [supported](https://github.com/discourse/onebox/tree/main/lib/onebox/engine). Powered by the [onebox](https://github.com/discourse/onebox) library. MARKDOWN ] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thredded-1.1.0 | lib/thredded/formatting_demo_content.rb |
thredded-1.0.1 | lib/thredded/formatting_demo_content.rb |