Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Create theme with monospace font on markdown-pro editor
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnetop committed Jun 7, 2022
0 parents commit 0a972d2
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 0 deletions.
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) 2022 Daniel Neto

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Monospace font for Standard Notes Markdown Pro/Hybrid Markdown editor

This theme does not change the default theme design. Instead, it adds a Monospace font to use in the Markdown Pro/Hybrid Markdown editor

## Installation
> Standard Notes Settings Gear -> Open Preferences -> General -> Advanced Settings -> Install Custom Extension -> Enter Extension URL
>
>Paste the following URL as Extension Link and click Install
```
https://danielnetop.github.io/markdown-pro-monospace/ext.json
```

## Preview
**Before:**
![Example of the before theme](examples/before.png)

**After:**
![Example of the after theme](examples/after.png)
Binary file added examples/after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions ext.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
metatype: json
---

{
"identifier": "io.github.danielnetop.markdown-pro-monospace",
"name": "Markdown Pro/Hybrid Markdown Monospace",
"content_type": "SN|Theme",
"area": "themes",
"version": "1.0.0",
"description": "Monospace for Standard Notes Markdown Pro/Hybrid Markdown editor.",
"url": "https://danielnetop.github.io/markdown-pro-monospace/main.css",
"download_url": "https://github.com/DanielNetoP/markdown-pro-monospace/archive/refs/tags/1.0.0.zip",
"latest_url": "https://danielnetop.github.io/markdown-pro-monospace/ext.json",
"marketing_url": "https://github.com/DanielNetoP/markdown-pro-monospace",
"dock_icon": {
"type": "circle",
"background_color": "#304ffe",
"foreground_color": "#ffffff",
"border_color": "#304ffe"
}
}
3 changes: 3 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.CodeMirror-code {
font-family: var(--sn-stylekit-monospace-font) !important;
}
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "io.github.danielnetop.markdown-pro-monospace",
"version": "1.0.0",
"main": "main.css",
"sn": {
"main": "main.css"
},
"repository": {
"type": "git",
"url": "https://github.com/DanielNetoP/markdown-pro-monospace.git"
}
}

0 comments on commit 0a972d2

Please sign in to comment.