dokudocs 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,19 +9,16 @@ A personal documentation system that stores docs as plain Markdown files and pro
9
9
  ## Features
10
10
 
11
11
  - **Markdown-first** — all documents are standard `.md` files on disk, editable with any tool
12
- - **WYSIWYG editor** — Notion-style block editor (BlockNote) with no raw Markdown editing
12
+ - **WYSIWYG editor** — block editor (BlockNote) with no raw Markdown editing
13
13
  - **Hierarchical folders** — organize docs in nested folders with a collapsible sidebar tree
14
14
  - **Full-text search** — search bar at the top of the sidebar with highlighted snippets
15
15
  - **Auto-save** — changes save automatically (1-second debounce)
16
16
  - **Live reload** — external file changes are detected and reflected instantly in the browser
17
17
  - **Dark mode** — toggle at the bottom of the sidebar, preference saved
18
18
  - **Image support** — drag and drop images with width and alignment preserved
19
- - **Resizable sidebar** — drag the edge to adjust width
20
19
  - **Width toggle** — switch between narrow and full-width document view
21
- - **Breadcrumb navigation** — clickable path segments to navigate parent pages
22
20
  - **Table of contents** — floating heading outline on the right, hover to expand and navigate
23
- - **Open folder** — open the document's file location in your OS file explorer
24
- - **Frontmatter** — YAML metadata for ordering (hidden in editor)
21
+ - **Page emoji** — set a custom emoji icon per document, shown in the sidebar and at the top of the page
25
22
  - **No database** — the filesystem is the single source of truth
26
23
 
27
24
  ## AI-Friendly
@@ -110,14 +107,19 @@ Documents support optional YAML frontmatter for metadata:
110
107
  ```markdown
111
108
  ---
112
109
  ordering: 1
110
+ icon: 🚀
113
111
  ---
114
112
  # My Document
115
113
 
116
114
  Content here...
117
115
  ```
118
116
 
119
- - `ordering` controls position in the sidebar (lower values first, unordered items last)
120
- - Frontmatter is completely hidden in the editor UI and preserved on save
117
+ | Field | Type | Description |
118
+ |-------|------|-------------|
119
+ | ordering | number | Controls position in the sidebar (lower values first, unordered items last) |
120
+ | icon | string | An emoji shown instead of the default file/folder icon in the sidebar. Can be set via the emoji picker in the toolbar or directly in the file. |
121
+
122
+ Frontmatter is completely hidden in the editor UI and preserved on save.
121
123
 
122
124
  ## Tech Stack
123
125
 
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);export{u as a,d as i,o as n,c as r,s as t};