highmark-markdown 0.0.355 → 0.0.357
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 +9 -17
- package/lib/defaultMarkdownStyle.js +2 -2
- package/package.json +5 -5
- package/src/defaultMarkdownStyle.js +2 -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\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\nlink {\n font-size: 9pt;\n line-height: 13pt;\n margin-left: 3pt;\n vertical-align: super;\n}\n\nerror {\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: 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\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\nlink {\n font-size: 9pt;\n line-height: 13pt;\n margin-left: 3pt;\n vertical-align: super;\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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9kZWZhdWx0TWFya2Rvd25TdHlsZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuY29uc3QgZGVmYXVsdE1hcmtkb3duU3R5bGUgPSBgXG5jb2xvdXI6IGJsYWNrO1xucGFkZGluZzogMjRwdDtcbm1pbi1oZWlnaHQ6IDEwMCU7XG5mb250LWZhbWlseTogXCJDb21wdXRlciBNb2Rlcm4gU2VyaWZcIjtcbmJhY2tncm91bmQtY29sb3VyOiB3aGl0ZTtcblxucHJpbWFyeUhlYWRpbmcge1xuICBmb250LXNpem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ZvbnQtc3R5bGU6IGl0YWxpYztcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XG59XG5cbmZvb3Rub3Rlc0xpc3Qge1xuICBib3JkZXItdG9wOiAxcHQgc29saWQgYmxhY2s7XG4gIHBhZGRpbmctdG9wOiAxM3B0O1xufVxuXG5mb290bm90ZUl0ZW0ge1xuICBmb250LXNpemU6IDExcHQ7XG4gIGxpbmUtaGVpZ2h0OiAxN3B0O1xuICBtYXJnaW4tbGVmdDogMTNwdDtcbiAgXG4gIHBhcmFncmFwaCB7XG4gICAgbWFyZ2luOiAwO1xuICAgIGZvbnQtc2l6ZTogMTFwdDtcbiAgICBsaW5lLWhlaWdodDogMTdwdDtcbiAgfVxufVxuXG5saW5rIHtcbiAgZm9udC1zaXplOiA5cHQ7XG4gIGxpbmUtaGVpZ2h0OiAxM3B0O1xuICBtYXJnaW4tbGVmdDogM3B0O1xuICB2ZXJ0aWNhbC1hbGlnbjogc3VwZXI7XG59XG5cbmVycm9yIHtcbiAgY29sb3VyOiByZWQ7XG4gIGZvbnQtc2l6ZTogMTNwdDtcbn1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IGRlZmF1bHRNYXJrZG93blN0eWxlO1xuIl0sIm5hbWVzIjpbImRlZmF1bHRNYXJrZG93blN0eWxlIl0sInJhbmdlTWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OyIsIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFrS0E7OztlQUFBOzs7QUFoS0EsSUFBTUEsdUJBQXdCO0lBZ0s5QixXQUFlQSJ9
|
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.357",
|
|
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.",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@swc/core": "^1.5.6",
|
|
21
|
-
"easy": "^
|
|
22
|
-
"easy-layout": "^6.0.
|
|
23
|
-
"easy-with-style": "^3.0.
|
|
21
|
+
"easy": "^19.0.1",
|
|
22
|
+
"easy-layout": "^6.0.168",
|
|
23
|
+
"easy-with-style": "^3.0.380",
|
|
24
24
|
"esbuild": "^0.9.2",
|
|
25
25
|
"express": "^4.17.1",
|
|
26
|
-
"juxtapose": "^4.0.
|
|
26
|
+
"juxtapose": "^4.0.96",
|
|
27
27
|
"lively-cli": "^2.0.65",
|
|
28
28
|
"watchful-cli": "^1.7.51"
|
|
29
29
|
},
|