Skip to content

【工具自荐】emgithub: 像嵌入 GitHub Gist 一样在博客/网站中嵌入 GitHub repo 的代码片段 #4131

New issue

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

By clicking “No 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? No Sign in to your account

Open
yusanshi opened this issue Mar 15, 2024 · 0 comments
Labels

Comments

@yusanshi
Copy link

网站地址: https://emgithub.com/

项目地址: https://github.com/yusanshi/emgithub

使用方法

浏览器打开 GitHub 仓库中要嵌入的文件,在地址栏 "github.com" 前加上 "em",即可获得当前文件的嵌入代码,从而像嵌入 GitHub Gist 代码一样嵌入到你的博客中。

特点

  • 支持语法高亮和自定义高亮风格
  • 支持渲染原始代码 / Markdown / Jupyter Notebook
  • 支持代码片段和永久链接
  • 支持 <script> / <iframe> 两种嵌入模式

@ruanyf ruanyf added the weekly label Mar 18, 2024
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants