@standardnotes/markdown-monospace 1.1.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # 1.1.0 (2023-12-07)
7
+
8
+ ### Features
9
+
10
+ * add markdown monospace theme ([#15](https://github.com/standardnotes/plugins/issues/15)) ([fa4ee29](https://github.com/standardnotes/plugins/commit/fa4ee292859104ec9e7a13c5322da0d299902f5b))
package/LICENSE.md ADDED
File without changes
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # Monospace font for Standard Notes markdown editors
2
+
3
+ (This theme used to live in https://github.com/DanielNetoP/markdown-monospace)
4
+
5
+ This theme is toggable on top of other themes, it simply adds the monospace font family to the editors.
6
+
7
+ Instead, it adds a Monospace font to use in the following editors:
8
+ - Basic Markdown
9
+ - Minimal Markdown
10
+ - Markdown
11
+
12
+ ## Preview
13
+ **Toggle theme:**
14
+ ![Example of the theme toggle](examples/preview.png)
15
+
16
+ **Before:**
17
+ ![Example of the before theme](examples/before.png)
18
+
19
+ **After:**
20
+ ![Example of the after theme](examples/after.png)
package/dist/dist.css ADDED
@@ -0,0 +1,9 @@
1
+ .CodeMirror-code,
2
+ #editor,
3
+ .CodeMirror .CodeMirror-code .cm-comment {
4
+ font-family: var(--sn-stylekit-monospace-font) !important;
5
+ }
6
+
7
+ .CodeMirror .CodeMirror-code .cm-comment {
8
+ font-size: 100% !important;
9
+ }
Binary file
Binary file
Binary file
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@standardnotes/markdown-monospace",
3
+ "version": "1.1.0",
4
+ "main": "dist/dist.css",
5
+ "author": "DanielNetoP",
6
+ "description": "Ability to toggle monospace font for Markdown, Minimal Markdown, and Basic Markdown plugins.",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "sn": {
11
+ "name": "Markdown Monospace",
12
+ "content_type": "SN|Theme",
13
+ "area": "themes",
14
+ "main": "dist/dist.css",
15
+ "showInGallery": true
16
+ },
17
+ "scripts": {
18
+ "build": "webpack --entry ./src/main.scss --config ../theme.webpack.config.js",
19
+ "test": "echo \"Error: no test specified\" && exit 0"
20
+ },
21
+ "devDependencies": {
22
+ "webpack": "*"
23
+ },
24
+ "gitHead": "a07c2fa4def67ecb22dcef994ea532b08497bfcc"
25
+ }
package/src/main.scss ADDED
@@ -0,0 +1,9 @@
1
+ .CodeMirror-code,
2
+ #editor,
3
+ .CodeMirror .CodeMirror-code .cm-comment {
4
+ font-family: var(--sn-stylekit-monospace-font) !important;
5
+ }
6
+
7
+ .CodeMirror .CodeMirror-code .cm-comment {
8
+ font-size: 100% !important;
9
+ }