+6
README.md
+6
README.md
···
18
glob: { pattern: "**/*.md", base: "./testing/posts" },
19
frontmatter: { type: "yaml", titleKey: "title", descriptionKey: "description", uploadDateKey: "uploadedDate" },
20
publicationUri: "at://did:plc:irx36xprktslecsbopbwnh5w/pub.leaflet.publication/3m27dfyhhtk2a",
21
prependDoc: {
22
path: "./testing/leaflet-prepend.md",
23
replacement: (key, ctx) => {
···
55
To setup placeholder replacement in prepended and appended docs you need to provide replacement function or key-value array.\
56
Example of function replacing placeholder `slug` with file name is shown in the config example.\
57
Placeholders in Markdown are defined like this `{{your-key}}`.
58
59
## Development
60
···
18
glob: { pattern: "**/*.md", base: "./testing/posts" },
19
frontmatter: { type: "yaml", titleKey: "title", descriptionKey: "description", uploadDateKey: "uploadedDate" },
20
publicationUri: "at://did:plc:irx36xprktslecsbopbwnh5w/pub.leaflet.publication/3m27dfyhhtk2a",
21
+
codeblockTheme: "catppuccin-mocha",
22
prependDoc: {
23
path: "./testing/leaflet-prepend.md",
24
replacement: (key, ctx) => {
···
56
To setup placeholder replacement in prepended and appended docs you need to provide replacement function or key-value array.\
57
Example of function replacing placeholder `slug` with file name is shown in the config example.\
58
Placeholders in Markdown are defined like this `{{your-key}}`.
59
+
60
+
## Sessions
61
+
Sessions are stored using the OS's credentials manager. For specific details look at these pages for [Node](https://github.com/Brooooooklyn/keyring-node) and [Bun](https://bun.com/docs/runtime/secrets).\
62
+
If you want to delete the session, you will have to do it manually.\
63
+
Session saving is skipped when using `--nokeyring` argument like this `leaflet-md --nokeyring sync` or if it's run inside a CI environment(requires `CI` env var set to `true`).
64
65
## Development
66