mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
* feat(include): support VS Code-style #region extraction for code files * chore: add changeset for include code region support * improve perf & fix bugs * Docs: introduce region support --------- Co-authored-by: Fuma Nama <[email protected]>
16 lines
245 B
TypeScript
16 lines
245 B
TypeScript
//#region a
|
|
console.log('hello world');
|
|
//#endregion
|
|
|
|
export function fn() {
|
|
//#region b
|
|
console.log('one');
|
|
//#region c
|
|
return function nested() {
|
|
console.log('two');
|
|
//#endregion
|
|
console.log('three');
|
|
};
|
|
//#endregion
|
|
}
|