GithubHelp home page GithubHelp logo

leanprover-community / highlightjs-lean Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 57 KB

A highlight.js language grammar for the Lean theorem proving language.

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%

highlightjs-lean's People

Contributors

bryangingechen avatar dependabot[bot] avatar eric-wieser avatar patrickmassot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

seanpm2001 crvdgc

highlightjs-lean's Issues

Invitation to join the Highlight.js grammar-maintainers team

Re: Invitation to join the Highlight.js grammar-maintainers team

I'd like to invite the grammar maintainer/maintainers to our @highlightjs/grammar-maintainers Team... this team is used to ping grammar maintainers about big upcoming changes or get their feedback on things that may affect them in the future.

But I don't know who to invite... can you assist?

Minimal example with CDN?

What's a full minimal example of using this package with a CDN? The static page below gets a TypeError in registerLanguage, but the go example works fine.

<!DOCTYPE html>
<html>

<head>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/default.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
    <script src="https://unpkg.com/highlightjs-lean/dist/lean.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/languages/go.min.js"></script>
    <script type="text/javascript">
        hljs.initHighlightingOnLoad();
    </script>

</head>

<body>
    <pre><code class="language-lean">def well_founded_tactics.process_lex :
        tactic unit โ†’ tactic unit </code></pre>

    <pre><code class="language-go">
package main

import "fmt"

type rect struct {
    width, height int
}
</code></pre>
</body>

</html>

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.