You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit de205fd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: np.Preview/CHANGELOG.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,14 @@
1
1
# What's Changed in 🖥️ Previews plugin?
2
2
See [website README for more details](https://github.com/NotePlan/plugins/tree/main/np.Preview), and how to configure it.
3
3
4
+
## [0.5.0] - 2026-08-04
5
+
- tables: 1px solid grey borders; left- and top-aligned cells; bold thead and tfoot only (not tbody)
6
+
- fix: do not show the title twice when frontmatter `title:` matches the first body H1
7
+
- Preview can be called for a specified note (filename, title, relative date, or calendar identifier) via x-callback / other plugins; Command Bar still previews the open Editor note
8
+
- Mermaid theme auto-selects light/dark from the NotePlan theme unless overridden as arg1
9
+
4
10
## [0.4.6] - 2026-08-04
5
-
-dev: Mermaid loads latest 11.x from CDN when online; falls back to shipped offline UMD snapshot (11.16.1)
11
+
- Mermaid loads latest 11.x from CDN when online; falls back to shipped offline UMD snapshot (11.16.1)
Optional `arg1` sets the Mermaid theme (e.g. `default`, `dark`, `forest`). If omitted, the plugin picks `default` or `dark` from the current NotePlan theme.
45
+
46
+
If the specified note is open in the Editor, unsaved Editor content is used. Live preview (**start live preview**) still applies only to the note that has the trigger in the open Editor.
47
+
27
48
## Mermaid charts
28
49
<img src="kanban-mermaid@2x.png" alt="Example of Kanban board in Mermaid charts" />
29
50
Mermaid is a third-party library that makes a wide variety of diagrams (including Flowcharts, Gantt, Kanban, state transition etc.) and some simple charts, using markdown-ish definitions. These definitions are placed in one or more fenced code blocks, like this:
Copy file name to clipboardExpand all lines: np.Preview/plugin.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@
3
3
"macOS.minVersion": "10.13.0",
4
4
"plugin.id": "np.Preview",
5
5
"plugin.name": "🖥️ Preview",
6
-
"plugin.description": "Shows HTML preview of the current note, including Mermaid diagrams and MathJax equations. Requires NP v3.9.2.",
6
+
"plugin.description": "Shows HTML preview of a note, including Mermaid diagrams and MathJax equations. Runs on current Editor, or a specified note via x-callback. Requires NP v3.9.2.",
"plugin.lastUpdateInfo": "v0.4.6: Mermaid via CDN latest 11.x, with offline UMD fallback 11.16.1.\nv0.4.5: updated to use Mermaid v11.",
10
+
"plugin.version": "0.5.0",
11
+
"plugin.lastUpdateInfo": "v0.5.0: Add basic table styling (bold thead/tfoot only; left/top-aligned cells; grey borders).\nDon't show title twice when frontmatter title and first H1 match.\nAdd support for x-callback to preview a specified note, rather than just the current note.\nv0.4.6: Update offline support for Mermaid to v11.16.1 (latest).\n",
0 commit comments