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

markdown 表格转图片样式 #56

Closed
paul-sama opened this issue Aug 6, 2023 · 3 comments
Closed

markdown 表格转图片样式 #56

paul-sama opened this issue Aug 6, 2023 · 3 comments

Comments

@paul-sama
Copy link

markdown 表格转图片 怎么设置字体颜色,有例子吗。

@kexue-z
Copy link
Owner

kexue-z commented Aug 7, 2023

直接使用HTML标签

语言 特点
Python 易学易用,动态类型,适合快速开发,广泛应用于Web开发、数据分析等领域。
Rust 安全性高,内存管理严格,适合系统级编程和高性能应用开发,具备并发性和并行性。
<table>
  <tr style="color: red; font-weight: bold;">
    <th>语言</th>
    <th>特点</th>
  </tr>
  <tr>
    <td>Python</td>
    <td>易学易用,动态类型,适合快速开发,广泛应用于Web开发、数据分析等领域。</td>
  </tr>
  <tr>
    <td>Rust</td>
    <td>安全性高,内存管理严格,适合系统级编程和高性能应用开发,具备并发性和并行性。</td>
  </tr>
</table>

@paul-sama
Copy link
Author

|---|---|
语言 |	特点
Python|	易学易用,动态类型,适合快速开发,广泛应用于 Web 开发、数据分析等领域。
Rust	|安全性高,内存管理严格,适合系统级编程和高性能应用开发,具备并发性和并行性。

上面的markdown转图片
就是表格了
有没有什么语法设置颜色或class的?

@kexue-z
Copy link
Owner

kexue-z commented Aug 7, 2023

markdown 是可以直接用html的

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

2 participants