Skip to content

refactor(model): add Code model for include_code tag - #5807

Open
D-Sketon wants to merge 18 commits into
hexojs:masterfrom
D-Sketon:fix/code
Open

refactor(model): add Code model for include_code tag#5807
D-Sketon wants to merge 18 commits into
hexojs:masterfrom
D-Sketon:fix/code

Conversation

@D-Sketon

@D-Sketon D-Sketon commented Aug 8, 2026

Copy link
Copy Markdown
Member

see #5633

try to fix #5479 and #5486

ref #5479 (comment)

Since the current model doesn't satisfy include_code, I experimentally added the Code Model

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

How to test

git clone -b fix/code https://github.com/D-Sketon/hexo.git
cd hexo
npm install
npm test

Signed-off-by: D-Sketon <2055272094@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.j2 file in code_dir causing rendering error

1 participant