diff --git a/README.md b/README.md index 1f2fa7d..236f509 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ Obelisk is a publishing tool for markdown document library, which can help you g - Icon Folder - …… +## Getting Started + +Please follow the [Documentation](https://cuigh.com/obelisk). As you might expect, the document site is also generated with Obelisk. + ## Screenshots **Document** @@ -26,10 +30,6 @@ Obelisk is a publishing tool for markdown document library, which can help you g **Extensions** ![Extensions](docs/assets/extension.png) -## Getting Started - -Please follow the [Documentation](https://cuigh.com/obelisk). As you might expect, the document site is also generated with Obelisk. - ## Roadmap - [x] CommonMark diff --git a/README_zh.md b/README_zh.md index b43146b..d232f45 100644 --- a/README_zh.md +++ b/README_zh.md @@ -15,6 +15,10 @@ Obelisk 是一个 Markdown 文档库发布工具,它能够简单、快速的 - Icon Folder - …… +## 快速上手 + +请参考这里的 [使用文档](https://cuigh.com/obelisk)。如你所料,文档站点也正是用 Obelisk 生成的。 + ## 屏幕截图 **文档** @@ -26,10 +30,6 @@ Obelisk 是一个 Markdown 文档库发布工具,它能够简单、快速的 **扩展** ![Extensions](docs/assets/extension.png) -## 快速上手 - -请参考这里的 [使用文档](https://cuigh.com/obelisk)。如你所料,文档站点也正是用 Obelisk 生成的。 - ## 路线图 - [x] CommonMark diff --git a/docs/01 Quick Start.md b/docs/01 Quick Start.md index 26b06f8..edf046b 100644 --- a/docs/01 Quick Start.md +++ b/docs/01 Quick Start.md @@ -50,7 +50,7 @@ By default, Obelisk will convert file and folder names according to kebab style. - Add path mapping in vault configuration file (obelisk.yml) ```yaml paths: - - Reading Notes: reading-notes + Reading Notes: reading-notes ``` ### Favicon diff --git a/docs/04 Changelog.md b/docs/04 Changelog.md index ba24f66..0f40d0c 100644 --- a/docs/04 Changelog.md +++ b/docs/04 Changelog.md @@ -4,6 +4,11 @@ layout: timeline # Changelog +## v0.7.1 @{2022-04-18} +- Fix document embedding when target section has sub sections +- Add link of target page to embed block +- Remove archived kanban + ## v0.7.0 @{2022-04-12} - Change default path formatter from `smart` to `kebab` - Clicking tag will pop up all page links containing that tag @@ -14,7 +19,7 @@ layout: timeline - Fix styles causing menu items to not be displayed in full ## v0.6.0 @{2022-04-08} -- Add support for timeline (Set layout as 'timeline' in metadata) +- Add support for timeline (Set layout as `timeline` in metadata) - Add timestamp to internal js/css resources - Support markdown embedding of Obsidian vault - Turn consecutive images into columns diff --git a/themes/willow/assets/css/app.css b/themes/willow/assets/css/app.css index ea6f00c..a9f2aa7 100644 --- a/themes/willow/assets/css/app.css +++ b/themes/willow/assets/css/app.css @@ -379,7 +379,7 @@ nav > .menu { z-index: 60; width: 100%; max-height: 80vh; - margin-top: 1px; + margin-top: 3px; color: var(--color-text); background-color: var(--color-back); } @@ -1005,18 +1005,26 @@ article { padding: 12px; margin: 1em auto; position: relative; + box-shadow: 0 0 4px 2px var(--color-shadow); } -.content .embed > :first-child { +.content .embed-content > :first-child { margin-top: 0; } -.content .embed > :last-child { +.content .embed-content > :last-child { margin-bottom: 0; } -/*.content .embed .embed-link {*/ -/* position: absolute;*/ -/* right: 12px;*/ -/* top: 12px;*/ -/*}*/ +.content .embed-link { + position: absolute; + right: 9px; + top: 6px; + color: var(--color-text-faint); +} +.content .embed-link:hover { + color: var(--color-accent); +} +.content .embed-link svg { + fill: currentColor; +} .content .footnotes p { margin: 8px 0; @@ -1259,6 +1267,10 @@ article { margin-bottom: 1em; } +.content p:empty { + display: none; +} + .content blockquote>:first-child { margin-top: 0; }