代码拉取完成,页面将自动刷新
Used by Quartz
This repository comes to you in two parts.
.json
file).json
file into graphs and tables)GitHub action and binary to scrape Obsidian vault for links and exposes them as a .json
file for easy consumption by Hugo.
Read Markdown from the /content
folder and place the resulting linkIndex.json
(and contentIndex.yaml
if the index
flag is enabled) into /data
# Installation
go install github.com/jackyzha0/hugo-obsidian@latest
# Run
hugo-obsidian -input=content -output=data -index=true
Add 'Build Link Index' as a build step in your workflow file (e.g. .github/workflows/deploy.yaml
)
...
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build Link Index
uses: jackyzha0/hugo-obsidian@v2.1
with:
input: content # input folder
output: data # output folder
index: true # whether to index content
...
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。