1
+ <!DOCTYPE html>
2
+ < html >
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < title > MarkDownload Options</ title >
7
+ < link rel ="stylesheet " type ="text/css " href ="options.css " media ="screen ">
8
+ </ head >
9
+
10
+ < body >
11
+ < h2 > Custom text</ h2 >
12
+ < small > For the front- and back-matter custom text, you can use the following text replacement values.
13
+ Please note that not all websites will provide all values
14
+ < ul >
15
+ < li > < code > {title}</ code > - Article Title</ li >
16
+ < li > < code > {length}</ code > - Length of the article, in characters</ li >
17
+ < li > < code > {excerpt}</ code > - Article description or short excerpt from the content</ li >
18
+ < li > < code > {byline}</ code > - Author metadata</ li >
19
+ < li > < code > {dir}</ code > - Content direction</ li >
20
+ < li > < code > {baseURI}</ code > - The url of the article</ li >
21
+ < li > < code > {date:FORMAT}</ code > - The current date and time. Check the < a href ="https://momentjs.com/docs/#/displaying/format/ " target ="_blank " rel ="noopener noreferrer "> format reference</ a > </ li >
22
+ </ ul >
23
+ </ small >
24
+
25
+ < h3 > Front-matter template</ h3 >
26
+ < label for ="frontmatter "> Enter the text here that should appear at the top of the output file.</ label >
27
+ < span id ="frontmatter " class ="textarea " role ="textbox " contenteditable > </ span >
28
+
29
+ < h3 > Back-matter template</ h3 >
30
+ < label for ="backmatter "> Enter the text here that should appear at the bottom of the output file.</ label >
31
+ < span id ="backmatter " class ="textarea " role ="textbox " contenteditable > </ span >
32
+
33
+ < div class ="status "> </ div >
34
+ < button class ="save "> Save</ button >
35
+
36
+ < h2 > Markdown conversion options</ h2 >
37
+
38
+ < h3 > Heading Style</ h3 >
39
+ < input type ="radio " name ="headingStyle " id ="setext " value ="setext " />
40
+ < label for ="setext "> Setext-Style Headers
41
+ < pre > All About Dogs
42
+ ==============</ pre >
43
+ </ label >
44
+ < input type ="radio " name ="headingStyle " id ="atx " value ="atx " />
45
+ < label for ="atx "> Atx-Style Headers
46
+ < pre > # All About Dogs</ pre >
47
+ </ label >
48
+
49
+ < h3 > Horizontal Rule style</ h3 >
50
+ < input type ="radio " name ="hr " id ="*** " value ="*** " />
51
+ < label for ="*** "> < code > ***</ code > </ label >
52
+ < input type ="radio " name ="hr " id ="--- " value ="--- " />
53
+ < label for ="--- "> < code > ---</ code > </ label >
54
+ < input type ="radio " name ="hr " id ="___ " value ="___ " />
55
+ < label for ="___ "> < code > ___</ code > </ label >
56
+
57
+ < h3 > Bullet List Marker</ h3 >
58
+ < input type ="radio " name ="bulletListMarker " id ="* " value ="* " />
59
+ < label for ="* "> < code > *</ code > </ label >
60
+ < input type ="radio " name ="bulletListMarker " id ="- " value ="- " />
61
+ < label for ="- "> < code > -</ code > </ label >
62
+ < input type ="radio " name ="bulletListMarker " id ="+ " value ="+ " />
63
+ < label for ="+ "> < code > +</ code > </ label >
64
+
65
+ < h3 > Code Block Style</ h3 >
66
+ < input type ="radio " name ="codeBlockStyle " id ="indented " value ="indented " />
67
+ < label for ="indented "> Intented
68
+ < pre > const helloWorld = () => {
69
+ console.log("Hello World");
70
+ }</ pre >
71
+ </ label >
72
+ < input type ="radio " name ="codeBlockStyle " id ="fenced " value ="fenced " />
73
+ < label for ="fenced "> Fenced
74
+ < pre > ```
75
+ const helloWorld = () => {
76
+ console.log("Hello World");
77
+ }
78
+ ```</ pre >
79
+ </ label >
80
+
81
+ < h3 > Code Block Fence</ h3 >
82
+ < input type ="radio " name ="fence " id ="``` " value ="``` " />
83
+ < label for ="``` "> < code > ```</ code > </ label >
84
+ < input type ="radio " name ="fence " id ="~~~ " value ="~~~ " />
85
+ < label for ="~~~ "> < code > ~~~</ code > </ label >
86
+
87
+ < h3 > Emphesis (italics) Delimiter</ h3 >
88
+ < input type ="radio " name ="emDelimiter " id ="_ " value ="_ " />
89
+ < label for ="_ "> < code > _italics_</ code > </ label >
90
+ < input type ="radio " name ="emDelimiter " id ="* " value ="* " />
91
+ < label for ="* "> < code > *italics*</ code > </ label >
92
+
93
+ < h3 > Strong (bold) Delimiter</ h3 >
94
+ < input type ="radio " name ="strongDelimiter " id ="** " value ="** " />
95
+ < label for ="** "> < code > **bold**</ code > </ label >
96
+ < input type ="radio " name ="strongDelimiter " id ="__ " value ="__ " />
97
+ < label for ="__ "> < code > __bold__</ code > </ label >
98
+
99
+ < h3 > Link Style</ h3 >
100
+ < input type ="radio " name ="linkStyle " id ="inlined " value ="inlined " />
101
+ < label for ="inlined "> Inlined
102
+ < pre > [Google](http://google.com)</ pre >
103
+ </ label >
104
+ < input type ="radio " name ="linkStyle " id ="referenced " value ="referenced " />
105
+ < label for ="referenced "> Referenced
106
+ < pre > [Google]
107
+
108
+ [Google]: http://google.com</ pre >
109
+ </ label >
110
+
111
+ < h3 > Link Reference Style</ h3 >
112
+ < input type ="radio " name ="linkReferenceStyle " id ="full " value ="full " />
113
+ < label for ="full "> Full</ label >
114
+ < input type ="radio " name ="linkReferenceStyle " id ="collapsed " value ="collapsed " />
115
+ < label for ="collapsed "> Collapsed</ label >
116
+ < input type ="radio " name ="linkReferenceStyle " id ="shortcut " value ="shortcut " />
117
+ < label for ="shortcut "> Shortcut</ label >
118
+
119
+ < div class ="status "> </ div >
120
+ < button class ="save "> Save</ button >
121
+
122
+ < script src ="../browser-polyfill.min.js "> </ script >
123
+ < script src ="options.js "> </ script >
124
+ </ body >
125
+
126
+ </ html >
0 commit comments