1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2025-02-01 05:23:02 +08:00
Commit Graph

3 Commits

Author SHA1 Message Date
f79060f32f
add support for md front matter & open page unlisted
- support page config define in front matter
  - support `title`, which can set HTML title.
    - if `title` is not set, then HTML title will try find page title defined in book.xml
	- if `title` is set but <h1> title not set, it will generated a <h1> title using the value of `title`
  - support `configurations` which can set page level configs here.
- now can open page that has .md file but not defined in book.xml (must in a book defined)
- old.title.gen is not supported yet.
2023-03-25 20:11:10 +08:00
2fcdeafc72
更新为 version 2.0 配置文件格式,书籍目录添加 Separator 支持,解析器部分跟进更新
- 支持了新的 bookshelf 以及其中的 config/link/book 解析
- 支持了新的 page/chapter/separator 以及 root_book 的解析
- 暂不支持 book.xml 根配置的解析
- 添加了为 Separator 设置的 css 样式
2023-02-26 16:12:45 +08:00
7369ba23f3
add ph-bookshelf xml schema. 2023-02-26 12:35:48 +08:00