diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 40 |
1 files changed, 39 insertions, 1 deletions
@@ -69,6 +69,37 @@ You can create an `img` directory directly under the repository and display imag [[./img/test.png]] ``` +### Store org files in subdirectory + +Set `org-roam-directory` to store org files in a subdirectory instead of directly under the repository. + +```yml +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Generate org-roam-ui page + uses: ikoamu/publish-org-roam-ui@main + with: + org-roam-directory: org-files + org-roam-db-filename: org-roam.db +``` + +``` +YourRepository +├── .github/workflows +├── org-files +│ ├── img +│ │ ├── img1.png +│ │ └── img2.png +│ ├── org-roam.db +│ ├── roam1.org +│ ├── roam1.org +│ └── ・・・ +├── README.org +└── ・・・ +``` + ### Setting site tile You can change the title of the site by specifying `site-tile`. (The default is ORUI) @@ -85,9 +116,16 @@ jobs: site-title: my org-roam! ``` -## code highlighting +## Customized org-roam-ui + +Sites generated by publish-org-roam-ui have additional features implemented that are not in the original org-roam-ui. + +### Code highlighting Sites generated by publish-org-roam will have code blocks highlighted. <img width="840" alt="スクリーンショット 2024-03-22 21 12 34" src="https://github.com/ikoamu/publish-org-roam-ui/assets/38206334/446d2575-8079-473f-a886-be2b2bec03be"> +### Search feature + +Search by title, tags, or content and instantly open a node. |