Commit Graph

8 Commits

Author SHA1 Message Date
Ming Di Leom 4f26c5e813
style(slugize): follow gfm & vscode
lowercase & remove dot
2024-06-08 04:45:34 +00:00
Ming Di Leom 772df1da56
fix(heading-link): detect repeat heading per post 2024-06-08 02:46:12 +00:00
Ming Di Leom 24c1b84e33
fix(heading-link): compatibility with marked v12
https://github.com/hexojs/hexo-renderer-marked/pull/280
2024-06-07 12:38:33 +00:00
Ming Di Leom 3ef2918a74
fix(page): replace section svg with sign
- https://en.wikipedia.org/wiki/Section_sign
2021-11-30 08:18:07 +00:00
Ming Di Leom 875d3b0540
fix(svg): <use> element no longer allows path
somehow path is considered as cross-origin resource,
though not mentioned in the doc
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
perhaps full URL (with protocol & domain) must be used?
but that will break mirror sites if used
2021-11-18 08:31:04 +00:00
MDLeom 9b8498b791
feat: share button
- web share API
- https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
- https://web.dev/web-share/
- https://github.com/luruke/browser-2020
- move height property to css
- add left margin to headerlink button
2020-03-20 05:18:36 +00:00
curben 3beca85f47
refactor(heading-link): replace cheerio with marked:renderer filter
- https://github.com/hexojs/hexo-renderer-marked/pull/129
2019-12-24 04:38:02 +00:00
curben 14c57d7009
fix: move scripts to theme
- portability
2019-10-06 10:52:28 +01:00
Renamed from scripts/heading-link.js (Browse further)