Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] renderPageContent 中 添加一个新的hook beforeRenderPageContent #1481

Closed
zenonux opened this issue Feb 2, 2024 · 1 comment
Labels
discussion Discussion

Comments

@zenonux
Copy link

zenonux commented Feb 2, 2024

Clear and concise description of the problem

希望在读取md文件后,对md文件本身做一些处理之后,再丢给markdown-it去解析

Suggested solution

function beforeRenderPageContent(content: string) {
  return content;
}

Alternative

No response

Additional context

No response

@Mister-Hope Mister-Hope closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
@Mister-Hope
Copy link
Member

一个markdown-it插件可以做到

@Mister-Hope Mister-Hope added the discussion Discussion label Feb 2, 2024
@vuepress vuepress locked and limited conversation to collaborators Feb 2, 2024
@Mister-Hope Mister-Hope converted this issue into discussion #1482 Feb 2, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
discussion Discussion
Projects
None yet
Development

No branches or pull requests

2 participants