From 23b437ce1b279f2f62d85902f7c08a103417004a Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Tue, 5 Jul 2022 14:00:58 +0100 Subject: [PATCH] Use normal font size on code blocks --- ext.json | 4 ++-- main.css | 7 ++++++- package.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ext.json b/ext.json index 9328c00..8ac084f 100755 --- a/ext.json +++ b/ext.json @@ -7,10 +7,10 @@ metatype: json "name": "Markdown Monospace", "content_type": "SN|Theme", "area": "themes", - "version": "1.2.0", + "version": "1.3.0", "description": "Monospace font for Standard Notes markdown editors", "url": "https://danielnetop.github.io/markdown-monospace/main.css", - "download_url": "https://github.com/DanielNetoP/markdown-monospace/archive/refs/tags/1.2.0.zip", + "download_url": "https://github.com/DanielNetoP/markdown-monospace/archive/refs/tags/1.3.0.zip", "latest_url": "https://danielnetop.github.io/markdown-monospace/ext.json", "marketing_url": "https://github.com/DanielNetoP/markdown-monospace", "thumbnail_url": "https://danielnetop.github.io/markdown-monospace/examples/preview.png", diff --git a/main.css b/main.css index 27b5b26..e5fadc9 100755 --- a/main.css +++ b/main.css @@ -1,4 +1,9 @@ .CodeMirror-code, -#editor { +#editor, +.CodeMirror .CodeMirror-code .cm-comment { font-family: var(--sn-stylekit-monospace-font) !important; } + +.CodeMirror .CodeMirror-code .cm-comment { + font-size: 100% !important; +} diff --git a/package.json b/package.json index 2011d00..80be463 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "io.github.danielnetop.markdown-monospace", - "version": "1.2.0", + "version": "1.3.0", "main": "main.css", "sn": { "main": "main.css"