
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
gitbook-plugin-clojurescript
Advanced tools
A Gitbook plugin for running a clojurescript REPA Gitbook plugin for running a clojurescript REPL
This is a sample plugin for GitBook.
Install it using: $ npm install gitbook-plugin
A plugin for GitBook is a node package that can be published on NPM.
The package name should begin with gitbook-plugin-
. And if your plugin is a theme, it should begin with gitbook-theme-
.
Examples: gitbook-plugin-mixpanel
, gitbook-plugin-googleanalytics
, gitbook-theme-dark
The package.json should contain a engine
field using the standard norm.
"engines": {
"gitbook": "*"
}
For example if you want your plugin to supports only GitBook version supperior to 0.3.1:
"engines": {
"gitbook": ">=0.3.1"
}
The plugin entry point should return an object with some metadata.
Type: Object
Default value: {}
Type: String
Default value: null
Path to the assets folder to copy
Type: Array
Default value: []
List of javascript file to add to the html pages (relative to the assets folder).
Type: Array
Default value: []
List of css file to add to the html pages (relative to the assets folder).
Type: Object
Default value: {}
Map of position -> code, html snippets to add to each page. The code could be a function.
Type: Object
Default value: {}
Templates to override default templates, only use this option if you want to change entirely how the book is rendered.
This object is a map: "name" -> "file", with names:
site
formatpage
formatType: Object
Default value: {}
Map of "name" -> Function that needs to be called during build process. With names:
Each hook can return a promise.
FAQs
A Gitbook plugin for running a ClojureScript REPL inside Gitbook
The npm package gitbook-plugin-clojurescript receives a total of 2 weekly downloads. As such, gitbook-plugin-clojurescript popularity was classified as not popular.
We found that gitbook-plugin-clojurescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.