Skip to content

Commit 527e8c1

Browse files
committed
Minor fixes
1 parent 2721e33 commit 527e8c1

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The `auto` option on the `github` and `github-dark` themes has a fixed width wit
8080

8181
> Your custom theme will be minified automatically on upload and it can be up to 8KB in size.
8282
83-
> You can add `<link rel="stylesheet" type="text/css" href="file:///home/me/custom-theme.css">` to your markdown document to speed up development while working on your theme.
83+
> You can add `<link rel="stylesheet" type="text/css" href="file:///home/me/custom-theme.css">` to your markdown document to speed up development while working on your theme. Custom theme [example][custom-theme].
8484
8585
---
8686

@@ -389,6 +389,7 @@ SOFTWARE.
389389
[mv2]: https://github.com/simov/markdown-viewer/tree/mv2
390390
[compilers-mv2]: https://github.com/simov/markdown-viewer/tree/compilers-mv2
391391
[firefox-docs]: https://github.com/simov/markdown-viewer/blob/main/firefox.md
392+
[custom-theme]: https://gist.github.com/simov/2a074a1c0123e6ba4bc2bfa6a67d3203
392393

393394
[syntax-github]: https://github.com/simov/markdown-syntax
394395
[syntax-gitlab]: https://gitlab.com/simovelichkov/markdown-syntax

content/themes.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,13 @@
171171
._theme-semantic a:active { color: #ff0000; }
172172

173173
/*---------------------------------------------------------------------------*/
174-
/*mermaid pan/zoom*/
174+
/*mermaid*/
175+
._theme-mini code { line-height: normal; }
176+
._theme-tacit * { max-width: none; }
177+
._theme-kacit * { max-width: none; }
178+
179+
/*---------------------------------------------------------------------------*/
180+
/*panzoom*/
175181

176182
._theme-mini pre > code.mermaid { padding: 0; }
177183
._theme-superstylin pre > code.mermaid { background: none; padding: 0; margin: 0; border-radius: 0; }

manifest.chrome.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"<all_urls>"
3939
],
4040
"resources": [
41+
"/content/anchor.svg",
4142
"/icons/default/16x16.png",
4243
"/icons/dark/16x16.png",
4344
"/icons/light/16x16.png",

manifest.firefox.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"<all_urls>"
6161
],
6262
"resources": [
63+
"/content/anchor.svg",
6364
"/icons/default/16x16.png",
6465
"/icons/dark/16x16.png",
6566
"/icons/light/16x16.png",

0 commit comments

Comments
 (0)