Sha256: 5ce21c4d904c840ea10ac3f8f618bd00abfe57b58c5e83a5cef83ddab385e76e

Contents?: true

Size: 1.01 KB

Versions: 18

Compression:

Stored size: 1.01 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',
#### 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/master/lib/onebox/engine). Powered by the [onebox](https://github.com/discourse/onebox) library.
      MARKDOWN
    ]
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
threddedDANIEL-0.14.5 lib/thredded/formatting_demo_content.rb
thredded-0.14.4 lib/thredded/formatting_demo_content.rb
thredded-0.14.3 lib/thredded/formatting_demo_content.rb
thredded-0.14.2 lib/thredded/formatting_demo_content.rb
thredded-0.14.1 lib/thredded/formatting_demo_content.rb
thredded-0.14.0 lib/thredded/formatting_demo_content.rb
thredded-0.13.8 lib/thredded/formatting_demo_content.rb
thredded-0.13.7 lib/thredded/formatting_demo_content.rb
thredded-0.13.6 lib/thredded/formatting_demo_content.rb
thredded-0.13.5 lib/thredded/formatting_demo_content.rb
thredded-0.13.4 lib/thredded/formatting_demo_content.rb
thredded-0.13.3 lib/thredded/formatting_demo_content.rb
thredded-0.13.2 lib/thredded/formatting_demo_content.rb
thredded-0.13.1 lib/thredded/formatting_demo_content.rb
thredded-0.13.0 lib/thredded/formatting_demo_content.rb
thredded-0.12.4 lib/thredded/formatting_demo_content.rb
thredded-0.12.3 lib/thredded/formatting_demo_content.rb
thredded-0.12.2 lib/thredded/formatting_demo_content.rb