Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusleonas committed Aug 6, 2024
1 parent adbcf42 commit 3abffc3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@ and outputs it to stdout.
notebuter read <name>
```

## Build your notes to html

To build your notes to a static html site, run:

```sh
notebutler build
```

This will create a `html` directory in the current directory, with all your notes
converted to html. This includes pico css for styling.

## Issues / Feature Requests

If you have any issues or feature requests, please open an issue on the
Expand Down
8 changes: 8 additions & 0 deletions docs/pages/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,20 @@ folder will be automatically detected and can be used when creating new notes.

`Name`: The name of the note.

`Notebook`: The name of the notebook the note is in.

`CreatedAt`: The date and time the note was created.

`Date`: The date the note was created.

`Time`: The time the note was created.

## Example

```md
# {{ .Name }}

This is a new note created at {{ .CreatedAt }}.

In {{ .Notebook }}
```

0 comments on commit 3abffc3

Please sign in to comment.