Skip to content
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

The code scrolls in sync with the preview @https://devops.phodal.com/helper #142

Open
kromalee opened this issue Apr 21, 2020 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@kromalee
Copy link

Feature Request

What does the proposed API examples?

  • 语法helper 代码预览与代码同步滚动 看的时候可能方便点

参考功能: https://www.zybuluo.com/mdeditor

Other reference [Optional]

@phodal
Copy link
Owner

phodal commented Apr 21, 2020

你对这一块了解吗?提供一些建议?

@phodal phodal added the help wanted Extra attention is needed label Apr 21, 2020
@giscafer
Copy link
Collaborator

giscafer commented Apr 22, 2020

markdown 渲染特殊的原因,这里和普通的两个div同步滚动还不同。 作业部落那里感觉做了 h1\2\3 锚点关联了,细节点好多的感觉,具体还不是很了解。

@kromalee
Copy link
Author

https://github.com/markdown-it/markdown-it/blob/master/support/demo_template/index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants