Socket
Book a DemoInstallSign in
Socket

highlightjs-func

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlightjs-func

highlight.js syntax definition for TON's FunC language

latest
npmnpm
Version
0.3.1
Version published
Weekly downloads
197
66.95%
Maintainers
1
Weekly downloads
 
Created
Source

highlight.js syntax definition for FunC, Fift, and TL-B

test

Usage

If you're using webpack / rollup / browserify / node:

npm install highlightjs highlightjs-func
import hljs from 'highlight.js'
import hljsDefine from 'highlightjs-func'

hljsDefine(hljs)  // Installs all language definitions
// Now, do your thing!

If you're not using a build system and just want to embed this in your webpage:

<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/func.min.js"></script>
<script type="text/javascript">
  hljs.highlightAll();
</script>

Keywords

FunC

FAQs

Package last updated on 16 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.