highmark-markdown 0.0.366 → 0.0.369
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 +7 -1
|
@@ -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: normal;\n font-family: "Computer Modern Sans";\n}\n\nparagraph,\nblockListing,\ninlineListing,\ntableHeadCell,\ntableBodyCell,\norderedListItem,\nunorderedListItem {\n font-size: 13pt;\n line-height: 20pt;\n}\n\ntable,\nparagraph,\norderedList,\nunorderedList,\nblockListing,\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\ninlineListing {\n margin: 0;\n}\n\ntable,\nparagraph,\norderedList,\nunorderedList,\ninlineListing,\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\nlink {\n font-size: 9pt;\n line-height: 13pt;\n margin-left: 3pt;\n vertical-align: super;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ntableHead {\n border-bottom: 2pt 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\npageNumber {\n display: block;\n font-size: 13pt;\n
|
|
11
|
+
var defaultMarkdownStyle = '\ncolour: black;\npadding: 24pt;\nposition: relative;\nmin-height: 100%;\nfont-family: "Computer Modern Serif";\npadding-bottom: 48pt;\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: normal;\n font-family: "Computer Modern Sans";\n}\n\nparagraph,\nblockListing,\ninlineListing,\ntableHeadCell,\ntableBodyCell,\norderedListItem,\nunorderedListItem {\n font-size: 13pt;\n line-height: 20pt;\n}\n\ntable,\nparagraph,\norderedList,\nunorderedList,\nblockListing,\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\ninlineListing {\n margin: 0;\n}\n\ntable,\nparagraph,\norderedList,\nunorderedList,\ninlineListing,\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\nlink {\n font-size: 9pt;\n line-height: 13pt;\n margin-left: 3pt;\n vertical-align: super;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ntableHead {\n border-bottom: 2pt 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\npageNumber {\n left: 0;\n width: 100%;\n bottom: 0;\n display: block;\n position: absolute;\n font-size: 13pt;\n text-align: center;\n padding-bottom: 24pt;\n}\n\nerror {\n colour: red;\n font-size: 13pt;\n}\n';
|
|
12
12
|
var _default = defaultMarkdownStyle;
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9kZWZhdWx0TWFya2Rvd25TdHlsZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuY29uc3QgZGVmYXVsdE1hcmtkb3duU3R5bGUgPSBgXG5jb2xvdXI6IGJsYWNrO1xucGFkZGluZzogMjRwdDtcbnBvc2l0aW9uOiByZWxhdG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b3duU3R5bGU7XG4iXSwibmFtZXMiOlsiZGVmYXVsdE1hcmtkb3duU3R5bGUiXSwicmFuZ2VNYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7IiwibWFwcGluZ3MiOiJBQUFBOzs7OytCQStLQTs7O2VBQUE7OztBQTdLQSxJQUFNQSx1QkFBd0I7SUE2SzlCLFdBQWVBIn0=
|
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.369",
|
|
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.",
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
const defaultMarkdownStyle = `
|
|
4
4
|
colour: black;
|
|
5
5
|
padding: 24pt;
|
|
6
|
+
position: relative;
|
|
6
7
|
min-height: 100%;
|
|
7
8
|
font-family: "Computer Modern Serif";
|
|
9
|
+
padding-bottom: 48pt;
|
|
8
10
|
background-colour: white;
|
|
9
11
|
|
|
10
12
|
primaryHeading {
|
|
@@ -155,10 +157,14 @@ footnoteItem {
|
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
pageNumber {
|
|
160
|
+
left: 0;
|
|
161
|
+
width: 100%;
|
|
162
|
+
bottom: 0;
|
|
158
163
|
display: block;
|
|
164
|
+
position: absolute;
|
|
159
165
|
font-size: 13pt;
|
|
160
|
-
margin-top: 36px;
|
|
161
166
|
text-align: center;
|
|
167
|
+
padding-bottom: 24pt;
|
|
162
168
|
}
|
|
163
169
|
|
|
164
170
|
error {
|