Commit Graph

26 Commits

Author SHA1 Message Date
78fdd5f654
add regex highlight intro 2023-03-27 23:49:24 +08:00
1ea9034221
update with ph-Bookshelf 2023-03-27 19:17:05 +08:00
ebe5c90963
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:07:41 +08:00
900d9c9281
update sub-books config version 2.0 2023-02-26 22:21:44 +08:00
66bd98484d
更新为 version 2.0 配置文件格式,书籍目录添加 Separator 支持,解析器部分跟进更新
- 支持了新的 bookshelf 以及其中的 config/link/book 解析
- 支持了新的 page/chapter/separator 以及 root_book 的解析
- 暂不支持 book.xml 根配置的解析
- 添加了为 Separator 设置的 css 样式
2023-02-26 16:12:34 +08:00
6728eb57a4
fix codeblock text color 2023-01-29 10:59:22 +08:00
30115b2774
sync for 4.0 update, change codeblock theme 2023-01-29 10:28:11 +08:00
967677ffdd
permalink highlight off 2023-01-27 19:26:18 +08:00
b3dca13d6e
sync commit from ph-bookshelf-wiki 2023-01-27 19:14:31 +08:00
c9268d4630
添加标题permalink链接和指向闪烁功能,添加滚动网页标题插件
- 添加插件 rolling-title 可以使网页标题有滚动向左的效果
  - 默认关闭,使用 enhanced.web.web-title.rolling-title = true 打开
- PHP Markdown 添加 Heading_Permalink 插件
  - 支持了自动为标题生成同名定位标
  - 添加了一个 ⁕ 悬浮的 permalink 按钮
  - 添加了插件 heading-permalink-highlights 使标题被定位时 permalink 按钮会产生闪烁效果
2023-01-27 19:09:46 +08:00
24b59a5988
add new book ph-bookshelf 2023-01-26 17:20:08 +08:00
4e09c98355
add support for CDATA in <configurations> 2023-01-26 14:54:09 +08:00
920ed30cfb
添加 site.robots 参数支持了 robots.txt
- 默认为 Allow All
2023-01-25 13:47:59 +08:00
4d438f82a1
.tex 简单支持,测试性质的资源(图片)文件获取支持 2023-01-25 13:03:53 +08:00
06dce38bba
支持了复数文本解析器,添加对 ReST 解析的支持 2023-01-25 00:45:19 +08:00
77a77d378d
change for commonmark format support 2023-01-24 18:53:30 +08:00
f28a3b4583
添加 regex 着色测试页,morny sync 2022-10-31 14:35:14 +08:00
9ea4d18c6d
morny: update 2022-10-28 21:38:43 +08:00
b1bf5739e4
morny: 修复 submodule 链接问题 2022-10-28 21:19:24 +08:00
411a2fe85d
Merge branch 'morny' 2022-10-28 21:13:44 +08:00
a0b21d52e0
站点配置中添加 morny 的Book字段 2022-10-28 14:57:53 +08:00
aabbe7d68a
添加 morny book 的仓库链接 2022-10-25 14:30:16 +08:00
5304b05279
添加 "data-backup" gitignore 规则 2022-10-25 14:29:39 +08:00
5a8d2c617a
repair %root dir name typo 2022-09-29 15:13:22 +08:00
72e103c2a9
make line-end LF 2022-09-29 15:07:42 +08:00
494b00366b
repo init & minimum rebuild data 2022-09-29 14:57:51 +08:00