From d32fbc5b1c07586bb82cf1ebf43d988e37f783a6 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Sun, 13 Oct 2024 20:06:44 +0900 Subject: doc: add default-section-open --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d613a68..350b458 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,22 @@ jobs: site-title: my org-roam! ``` +### Default section open + +Sections can be kept closed during initial display. + +```yml +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Generate org-roam-ui page + uses: ikoamu/publish-org-roam-ui@main + with: + org-roam-db-filename: .db + default-section-open: false +``` + ## Customized org-roam-ui Sites generated by publish-org-roam-ui have additional features implemented that are not in the original org-roam-ui. @@ -154,4 +170,3 @@ git clone git@github.com:ikoamu/publish-org-roam-ui.git cd publish-org-roam-ui ./local.sh /path/to/org-roam-dir .db ``` - -- cgit