14 Commits

Author SHA1 Message Date
Jake
e8117563ea
feat: Fragment identifier full line ignore (#2626) 2025-11-24 10:47:19 +08:00
John Hildenbiddle
2e59b0f50c
feat: GitHub style callouts (#2487)
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
Co-authored-by: Luffy <52o@qq52o.cn>
2025-09-01 12:53:59 +08:00
Bingzhi.Li
9e681c6419
chore: fix front matter broken (#2390)
Co-authored-by: Luffy <52o@qq52o.cn>
2024-03-22 09:37:28 +08:00
Joe Pea
7bbf13d9bd
Ensure code format (#2138)
* chore: add missing Vue support for Vercel builds

* refactor: move some functions and module-level state into classes as private methods and properties to start to encapsulate Docsify

Also some small tweaks:

- move initGlobalAPI out of Docsify.js to start to encapsulate Docsify
- move ajax to utils folder
- fix some type definitions and improve content in some JSDoc comments
- use concise class field syntax
- consolidate duplicate docsify-ignore comment removal code

This handles a task in [Simplify and modernize Docsify](https://github.com/docsifyjs/docsify/issues/2104), as well as works towards [Encapsulating Docsify](https://github.com/docsifyjs/docsify/issues/2135).

* chore: add prettier code format check to our lint script, and add a prettier script for manually formatting the whole code base

* chore: update issue/pr templates

* chore: apply our format to the whole code base


---------

Co-authored-by: Koy <koy@ko8e24.top>
Co-authored-by: i544693 <369491420@qq.com>
2023-08-09 17:53:30 +08:00
John Jago
c0bf897ea4 docs: improve English wording (Guide)
This change improves a few of the phrases so that they sound more natural.
Small stylistic changes are also included, such as consistent use of "GitHub"
instead of "Github".
2021-07-30 11:51:24 -05:00
luwol03
ec16e4a9d5
fix: allow also " inside of an embed 2021-06-22 14:31:45 +02:00
Koy
043c9c9f33
docs: add note on video/media attrs. (#1559)
* docs: add note on video/media attrs.

* update: refine decription.

Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-05-09 09:14:32 +08:00
Snyk bot
086c2859ad
[Snyk] Security upgrade marked from 0.7.0 to 1.1.1 (#1313)
* fix: package.json & package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MARKED-584281

* fix: fix CompileError

* fix: embed files error

Co-authored-by: Koy <369491420@qq.com>
Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-08-14 07:53:23 +08:00
michaelcurrin
c3d0d0d555
docs: Add embed gist instructions to Embed Files (fixes #932 ) (#1238)
* Clarify embed file explanations

* Add Embed a gist section

* Update gist instructions

* Fix grammar errors and clarify notes around gists

* Add real gist to embed-files.md

* Clean up embed-files.md
2020-06-22 23:10:26 +05:30
Sytone
b05949a161 Add front matter to dev page
Update embeded files documentation
Add example with front matter
Add various comments I used to understand code
Updated front matter to have installed flag
Added function to parse front matter
Added intercept to remove front matter for embed
2020-04-27 12:24:24 -07:00
Anton Wilhelm
1447c8a40a feat: Provide code fragments feature (#748) 2019-01-23 10:54:50 +08:00
qingwei.li
df84bc73ee chore: typo 2018-02-11 22:22:06 +08:00
qingwei.li
bf5d999296 docs: update embed files 2018-02-11 22:22:06 +08:00
qingwei.li
56608e4739 docs: add embed files, resolve #383, resolve #333, resolve #134 2018-02-11 22:22:06 +08:00