Giter VIP home page Giter VIP logo

template-generator's Introduction

这是什么?

Template-Generator 是一个 lyc 瞎写的,用于快速生成 HTML 格式的模板的开源项目。

Demo

如何使用?

  • 在文件夹下新建文件夹 code

  • 把你的模板放进这个文件夹,文件名需要保证是英文。

  • 运行 main.exe

下载 release 来观察一个实例

Features

  • 代码高亮
  • 索引目录
  • 一键复制
  • HTML 文件不引用外部资源

关于自定义代码高亮

前往 Prism.js 官网下载对应主题的 cssjs 文件,并用它们替换 /source/ 中的 prism.jsprism.css

致谢

复制代码功能使用了 给 LibreOJ 添加复制按钮的用户脚本 的代码

template-generator's People

Contributors

lycltb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.