Skip to content

TW5 赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。

License

Notifications You must be signed in to change notification settings

tiddly-gittly/tw5-heti-plugin

Repository files navigation

TW5-heti 赫蹏(hètí)

专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。

image

Document & Usage

heti官网使用说明:https://sivan.github.io/heti/

  1. 在页面的标签前中引入heti.css样式文件:
<link rel="stylesheet" href="//unpkg.com/heti/umd/heti.min.css">
  1. 在要作用的容器元素上增加class="heti"的类名即可:
<article class="entry heti">
  <h1>我的世界观</h1>
  <p>有钱人的生活就是这么朴实无华,且枯燥。</p>
  ……
</article>

注:赫蹏是正文区域的样式增强。因此不建议将它作用在根标签(如<body><div class="container">)上。

Credits

This project is based on 赫蹏(hètí)

 "author": "Sivan <[email protected]>",
 "homepage": "https://github.com/sivan/heti#readme",
 "repository": {
   "type": "git",
   "url": "git+https://github.com/sivan/heti.git"
 },

Development

开发环境依赖:Modern.TiddlyDev

1. npm i
2. npm run build-heti
3. npm run dev

运行npm run dev命令时,修改src/heti文件夹中的非meta文件会触发自动编译与更新

Contributors

About

TW5 赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •