Skip to content
/ emg Public
forked from yusanshi/emgithub

Embed a file from GitHub repository just like GitHub Gist.

License

Notifications You must be signed in to change notification settings

PROxZIMA/emg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emg

https://emg.proxzima.dev/

A fork of emgithub with some extra tweaks.

  • PDF support using pdf.js.
  • Styles ids can be automated using javascript.
// https://highlightjs.org/static/demo/
// Run the following in browser console and paste the result in the 404.html file
let styles = {};
[...document.getElementsByTagName('link')].forEach(link => {
  if (link.href.startsWith('https://highlightjs.org/static/demo/styles/')) {
    data[link.href.slice(43, -4)] = link.title;
  }
})
copy(styles);

Credits

About

Embed a file from GitHub repository just like GitHub Gist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.2%
  • JavaScript 43.8%