highmark-markdown 0.0.267 → 0.0.268
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example.js +2 -2
- package/lib/defaultMarkdownStyle.js +2 -2
- package/package.json +1 -1
- package/src/defaultMarkdownStyle.js +19 -8
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
var defaultMarkdownStyle = '\ncolour: black;\npadding: 24pt;\nmin-height: 100%;\nfont-family: "Computer Modern Serif";\nbackground-colour: white;\n\nprimaryHeading {\n font-size: 32pt;\n}\n\nsecondaryHeading {\n font-size: 24pt;\n}\n\ntertiaryHeading {\n font-size: 17pt;\n}\n\nquaternaryHeading {\n font-size: 13pt;\n}\n\nprimaryHeading,\nsecondaryHeading,\ntertiaryHeading,\nquaternaryHeading {\n line-height: 1;\n font-weight: bold;\n
|
|
11
|
+
var defaultMarkdownStyle = '\ncolour: black;\npadding: 24pt;\nmin-height: 100%;\nfont-family: "Computer Modern Serif";\nbackground-colour: white;\n\nprimaryHeading {\n font-size: 32pt;\n}\n\nsecondaryHeading {\n font-size: 24pt;\n}\n\ntertiaryHeading {\n font-size: 17pt;\n}\n\nquaternaryHeading {\n font-size: 13pt;\n}\n\nprimaryHeading,\nsecondaryHeading,\ntertiaryHeading,\nquaternaryHeading {\n line-height: 1;\n font-weight: bold;\n}\n\nparagraph,\ntableCell,\nblockListing,\ninlineListing,\norderedListItem,\nunorderedListItem {\n font-size: 13pt;\n line-height: 20pt;\n}\n\ntable,\nparagraph,\norderedList,\nunorderedList,\nblockListing,\ninlineListing,\nprimaryHeading,\nsecondaryHeading,\ntertiaryHeading,\nquaternaryHeading {\n margin: 13pt 0 13pt 0;\n}\n\norderedListItem,\nunorderedListItem {\n margin: 6pt 0 6pt 0;\n margin-left: 13pt;\n}\n\ntable,\nparagraph,\norderedList,\nunorderedList,\nblockListing,\nprimaryHeading,\nsecondaryHeading,\ntertiaryHeading,\nquaternaryHeading,\norderedListItem,\nunorderedListItem {\n :first-child {\n margin-top: 0;\n }\n \n :last-child {\n margin-bottom: 0;\n }\n}\n\nblockListing,\ninlineListing {\n colour: white;\n background-colour: black;\n font-family: "Computer Modern Typewriter";\n}\n\nblockListing {\n display: block;\n padding: 6pt;\n overflow-x: scroll;\n}\n\ninlineListing {\n display: inline-block;\n padding: 0 3pt 0 3pt;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ntableHead {\n border: 1pt solid black;\n}\n\ntableBodyCell,\ntableHeadCell {\n padding: 13pt;\n}\n\nstrongText {\n font-weight: bold;\n}\n\nemphasisedText {\n font-style: italic;\n}\n\nstronglyEmphasisedText {\n font-style: italic;\n font-weight: bold;\n}\n\nfootnotesList {\n border-top: 1pt solid black;\n padding-top: 13pt;\n}\n\nfootnoteItem {\n font-size: 11pt;\n line-height: 17pt;\n margin-left: 13pt;\n \n paragraph {\n margin: 0;\n font-size: 11pt;\n line-height: 17pt;\n }\n}\n\nlink {\n font-size: 9pt;\n line-height: 13pt;\n margin-left: 3pt;\n vertical-align: super;\n}\n\nerror {\n text-decoration: underline red;\n}\n';
|
|
12
12
|
var _default = defaultMarkdownStyle;
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9kZWZhdWx0TWFya2Rvd25TdHlsZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuY29uc3QgZGVmYXVsdE1hcmtkb3duU3R5bGUgPSBgXG5jb2xvdXI6IGJsYWNrO1xucGFkZGluZzogMjRwdDtcbm1pbi1oZWlnaHQ6IDEwMCU7XG5mb250LWZhbWlseTogXCJDb21wdXRlciBNb2Rlcm4gU2VyaWZcIjtcbmJhY2tncm91bmQtY29sb3VyOiB3aGl0ZT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XRvcDogMXB0IHNvbGlkIGJsYWNrO1xuICBwYWRkaW5nLXRvcDogMTNwdDtcbn1cblxuZm9vdG5vdGVJdGVtIHtcbiAgZm9udC1zaXplOiAxMXB0O1xuICBsaW5lLWhlaWdodDogMTdwdDtcbiAgbWFyZ2luLWxlZnQ6IDEzcHQ7XG4gIFxuICBwYXJhZ3JhcGgge1xuICAgIG1hcmdpbjogMDtcbiAgICBmb250LXNpemU6IDExcHQ7XG4gICAgbGluZS1oZWlnaHQ6IDE3cHQ7XG4gIH1cbn1cblxubGluayB7XG4gIGZvbnQtc2l6ZTogOXB0O1xuICBsaW5lLWhlaWdodDogMTNwdDtcbiAgbWFyZ2luLWxlZnQ6IDNwdDtcbiAgdmVydGljYWwtYWxpZ246IHN1cGVyO1xufVxuXG5lcnJvciB7XG4gIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lIHJlZDtcbn1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IGRlZmF1bHRNYXJrZG93blN0eWxlO1xuIl0sIm5hbWVzIjpbImRlZmF1bHRNYXJrZG93blN0eWxlIl0sInJhbmdlTWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OyIsIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkEySkE7OztlQUFBOzs7QUF6SkEsSUFBTUEsdUJBQXdCO0lBeUo5QixXQUFlQSJ9
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "highmark-markdown",
|
|
3
3
|
"author": "James Smith",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.268",
|
|
5
5
|
"license": "MIT, Anti-996",
|
|
6
6
|
"homepage": "https://github.com/djalbat/highmark-markdown",
|
|
7
7
|
"description": "Highmark's Markdown and Markdown Style languages.",
|
|
@@ -29,17 +29,28 @@ tertiaryHeading,
|
|
|
29
29
|
quaternaryHeading {
|
|
30
30
|
line-height: 1;
|
|
31
31
|
font-weight: bold;
|
|
32
|
-
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
paragraph,
|
|
35
|
+
tableCell,
|
|
36
|
+
blockListing,
|
|
37
|
+
inlineListing,
|
|
38
|
+
orderedListItem,
|
|
39
|
+
unorderedListItem {
|
|
40
|
+
font-size: 13pt;
|
|
41
|
+
line-height: 20pt;
|
|
33
42
|
}
|
|
34
43
|
|
|
35
44
|
table,
|
|
36
45
|
paragraph,
|
|
37
46
|
orderedList,
|
|
38
47
|
unorderedList,
|
|
48
|
+
blockListing,
|
|
39
49
|
inlineListing,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
50
|
+
primaryHeading,
|
|
51
|
+
secondaryHeading,
|
|
52
|
+
tertiaryHeading,
|
|
53
|
+
quaternaryHeading {
|
|
43
54
|
margin: 13pt 0 13pt 0;
|
|
44
55
|
}
|
|
45
56
|
|
|
@@ -53,13 +64,13 @@ table,
|
|
|
53
64
|
paragraph,
|
|
54
65
|
orderedList,
|
|
55
66
|
unorderedList,
|
|
56
|
-
orderedListItem,
|
|
57
|
-
unorderedListItem,
|
|
58
67
|
blockListing,
|
|
59
68
|
primaryHeading,
|
|
60
69
|
secondaryHeading,
|
|
61
70
|
tertiaryHeading,
|
|
62
|
-
quaternaryHeading
|
|
71
|
+
quaternaryHeading,
|
|
72
|
+
orderedListItem,
|
|
73
|
+
unorderedListItem {
|
|
63
74
|
:first-child {
|
|
64
75
|
margin-top: 0;
|
|
65
76
|
}
|
|
@@ -126,7 +137,7 @@ footnoteItem {
|
|
|
126
137
|
paragraph {
|
|
127
138
|
margin: 0;
|
|
128
139
|
font-size: 11pt;
|
|
129
|
-
line-height:
|
|
140
|
+
line-height: 17pt;
|
|
130
141
|
}
|
|
131
142
|
}
|
|
132
143
|
|