File tree 4 files changed +44
-1
lines changed
4 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## Unreleased
4
+
5
+ * Enable ` shortcut_reference_links ` by default. These are reference links
6
+ without the second pair of brackets, e.g.:
7
+
8
+ ``` markdown
9
+ See [my website].
10
+
11
+ [my website]: http://example.com
12
+ ```
13
+
3
14
## 0.14.2.0 (2024-03-10)
4
15
5
16
* Fix WezTerm image rendering when using panes (#182).
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ defaultExtensionList = ExtensionList $
204
204
, Pandoc. Ext_strikeout
205
205
, Pandoc. Ext_superscript
206
206
, Pandoc. Ext_subscript
207
+ , Pandoc. Ext_shortcut_reference_links
207
208
]
208
209
209
210
Original file line number Diff line number Diff line change @@ -6,3 +6,17 @@ a title](http://fsf.org "click here for a good time!").
6
6
Let's talk about [ foo] [ foosite ]
7
7
8
8
[ foosite ] : http://foo.com/
9
+
10
+ ---
11
+
12
+ Some more links:
13
+
14
+ 1 . An automatic one: < http://example.com#1 >
15
+ 2 . An [ inline one] ( http://example.com#2 )
16
+ 3 . A [ reference] [ ref ] link
17
+ 4 . A [ shortcut reference] link
18
+ 5 . A [ titled] link
19
+
20
+ [ ref ] : http://example.com#3
21
+ [ shortcut reference ] : http://example.com#4
22
+ [ titled ] : http://example.com#5 ' The title '
Original file line number Diff line number Diff line change 10
10
[m[[0m[32minline link[0m[m]([0m[4;36m/url[0m[m)[0m
11
11
[m[[0m[32mone with a title[0m[m]([0m[4;36mhttp://fsf.org[0m[m "click here for a good time!")[0m
12
12
[m[[0m[32mfoo[0m[m]([0m[4;36mhttp://foo.com/[0m[m)[0m
13
- [33m 1 / 1 [0m
13
+ [33m 1 / 2 [0m
14
+
15
+ [m{slide}[0m
16
+ [33m links.md [0m
17
+
18
+ [mSome more links:[0m
19
+
20
+ [35m1. [0m[mAn automatic one: <[0m[4;36mhttp://example.com#1[0m[m>[0m
21
+ [35m2. [0m[mAn [[0m[32minline one[0m[m][0m
22
+ [35m3. [0m[mA [[0m[32mreference[0m[m] link[0m
23
+ [35m4. [0m[mA [[0m[32mshortcut reference[0m[m] link[0m
24
+ [35m5. [0m[mA [[0m[32mtitled[0m[m] link[0m
25
+
26
+ [m[[0m[32minline one[0m[m]([0m[4;36mhttp://example.com#2[0m[m)[0m
27
+ [m[[0m[32mreference[0m[m]([0m[4;36mhttp://example.com#3[0m[m)[0m
28
+ [m[[0m[32mshortcut reference[0m[m]([0m[4;36mhttp://example.com#4[0m[m)[0m
29
+ [m[[0m[32mtitled[0m[m]([0m[4;36mhttp://example.com#5[0m[m "The title")[0m
30
+ [33m 2 / 2 [0m
You can’t perform that action at this time.
0 commit comments