Add links to kill unused reference lines
[markdown-mode.git] / tests / Leanpub.md
blobefa508ef6c1a65e446127d30eb0335a10f697a2f
1 # Leanpub
3 {frontmatter}
5 ## Section {#id}
7 [Link to section](#id)
9 {mainmatter}
11 ## Aside Blocks
13 A> ## Your Aside Title {#your-aside-title}
15 A> This is also sometimes known as a sidebar.
16 A> More info would go here.
18 C> Centered text
20 W> Text in a warning box
22 T> Text in a tip box
24 E> Text in an error box
26 I> Text in an information box
28 Q> Text in a question box
30 D> Text in a discussion box
32 X> Text in an exercise box
34 {pagebreak}
36 General blocks:
38 {icon=automobile}
39 G> ## Vrooom!
41 G> The freedom of the road!
43 ## Code Blocks
45 Here is a code sample:
47 <<(2017-05-04.txt)
49 <<[This Code Sample Has A Title](code/sample2.rb)
51 {title="Example 12: Creating a class in Ruby", .class, lang=ruby}
52 ~~~~~~~
53 class Book
55   def initialize(title, subtitle)
56     @title = title
57     @subtitle = subtitle
58   end
60 end
61 ~~~~~~~