├── examples ├── after.png ├── before.png └── preview.png ├── main.css ├── package.json ├── ext.json ├── README.md └── LICENSE.md /examples/after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielnetop/markdown-monospace/HEAD/examples/after.png -------------------------------------------------------------------------------- /examples/before.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielnetop/markdown-monospace/HEAD/examples/before.png -------------------------------------------------------------------------------- /examples/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielnetop/markdown-monospace/HEAD/examples/preview.png -------------------------------------------------------------------------------- /main.css: -------------------------------------------------------------------------------- 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 | } 10 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "io.github.danielnetop.markdown-monospace", 3 | "version": "1.3.0", 4 | "main": "main.css", 5 | "sn": { 6 | "main": "main.css" 7 | }, 8 | "repository": { 9 | "type": "git", 10 | "url": "https://github.com/DanielNetoP/markdown-monospace.git" 11 | } 12 | } -------------------------------------------------------------------------------- /ext.json: -------------------------------------------------------------------------------- 1 | --- 2 | metatype: json 3 | --- 4 | 5 | { 6 | "identifier": "io.github.danielnetop.markdown-monospace", 7 | "name": "Markdown Monospace", 8 | "content_type": "SN|Theme", 9 | "area": "themes", 10 | "version": "1.3.0", 11 | "description": "Monospace font for Standard Notes markdown editors", 12 | "url": "https://danielnetop.github.io/markdown-monospace/main.css", 13 | "download_url": "https://github.com/DanielNetoP/markdown-monospace/archive/refs/tags/1.3.0.zip", 14 | "latest_url": "https://danielnetop.github.io/markdown-monospace/ext.json", 15 | "marketing_url": "https://github.com/DanielNetoP/markdown-monospace", 16 | "thumbnail_url": "https://danielnetop.github.io/markdown-monospace/examples/preview.png", 17 | "layerable": true 18 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ⚠️ Archived this repo in favor of official plugin implementation, added this theme on https://github.com/standardnotes/plugins 2 | 3 | # Monospace font for Standard Notes markdown editors 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 | - Hybrid Markdown 10 | - Minimal Markdown 11 | 12 | ## Installation 13 | > Standard Notes Settings Gear -> Open Preferences -> General -> Advanced Settings -> Install Custom Extension -> Enter Extension URL 14 | > 15 | >Paste the following URL as Extension Link and click Install 16 | 17 | ``` 18 | https://danielnetop.github.io/markdown-monospace/ext.json 19 | ``` 20 | 21 | ## Preview 22 | **Toggle theme:** 23 | ![Example of the theme toggle](examples/preview.png) 24 | 25 | **Before:** 26 | ![Example of the before theme](examples/before.png) 27 | 28 | **After:** 29 | ![Example of the after theme](examples/after.png) 30 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Daniel Neto 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | --------------------------------------------------------------------------------