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

[bug] markdown 和 HTML 混编渲染不正确 #93

Open
jaywhj opened this issue Jan 14, 2025 · 0 comments
Open

[bug] markdown 和 HTML 混编渲染不正确 #93

jaywhj opened this issue Jan 14, 2025 · 0 comments

Comments

@jaywhj
Copy link

jaywhj commented Jan 14, 2025

你好,这段代码渲染不正确,效果没渲染出来,不知道编辑器是否支持混编的方式?在其他好多编辑器里都是可以正常渲染的,本质上,markdown 就是 HTML,如果是原生HTML,也是可以正常显示的:


### 3. 多列布局

使用 `<div>` 多层嵌套,然后再设置其 CSS 属性。

<style>
.container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 2vw;
    margin-bottom: var(--content-padding-bottom);
}
</style>
<div class="container">
<div>

- 第1列
    - Bullet
- Bullet
- Bullet

</div>
<div>

1. 第2列
    1. List
2. List
3. List

</div>
<div>
<img src="https://www.w3cschool.cn/attachments/image/20170526/1495798408306247.jpg" />
</div>

</div>

正常应该是渲染成这样的:

截屏2025-01-14 23 38 13
@jaywhj jaywhj changed the title 你好,不支持markdown和HTML混编吗? [bug] markdown 和 HTML 混编渲染不正确 Jan 15, 2025
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

No branches or pull requests

1 participant