CLI tool to sync your Markdown to Leaflet
leafletpub atproto cli markdown
30
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README

SharpMars b8c65f5e 39650d1a

+6
+6
README.md
··· 18 18 glob: { pattern: "**/*.md", base: "./testing/posts" }, 19 19 frontmatter: { type: "yaml", titleKey: "title", descriptionKey: "description", uploadDateKey: "uploadedDate" }, 20 20 publicationUri: "at://did:plc:irx36xprktslecsbopbwnh5w/pub.leaflet.publication/3m27dfyhhtk2a", 21 + codeblockTheme: "catppuccin-mocha", 21 22 prependDoc: { 22 23 path: "./testing/leaflet-prepend.md", 23 24 replacement: (key, ctx) => { ··· 55 56 To setup placeholder replacement in prepended and appended docs you need to provide replacement function or key-value array.\ 56 57 Example of function replacing placeholder `slug` with file name is shown in the config example.\ 57 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`). 58 64 59 65 ## Development 60 66