hexojs / hexojs/hexo-renderer-marked

開啓 prependRoot: true & postAsset: true 後, 如何讓hexo.render.renderSync({ text: content, engine: 'markdown' })也可以實現效果?

Open
#319 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
183
Forks
93
PR merge metrics
No merged PRs in 30d

Description

### Check List

- [x] I have already read README.
- [x] I have already searched existing issues.
- [x] I have already searched existing pull requrests.

### Feature Request

開啓 prependRoot: true & postAsset: true 後, 如何讓
hexo.render.renderSync({ text: content, engine: 'markdown' })也可以實現效果?

因為在 標籤外掛裏,都是使用 hexo.render.renderSync({ text: content, engine: 'markdown' }) 去渲染 markdown 的內容

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the README and the behavior of hexo.render.renderSync({ text: content, engine: 'markdown' }) when prependRoot and postAsset are enabled. Trace how tag plugins render Markdown and define the expected rendered output before deciding what files and tests are needed; done means renderSync produces the same effects under those options.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
tooling, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.