New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

editorjs-codeflask

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

editorjs-codeflask

Codeflask, for EditorJS

unpublished
latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

EditorJs - Codeflask

npm i editorjs-codeflask

This is an EditorJs wrapper for CodeFlask - A lovely lightweight zero-dep code formatter

It was built to be an improvement on :

Demo

Demo

Data Format :

NameDescription
codeThe code that is displayed in the editor, with line breaks
languageThe programming language
showlinenumbersWill show/hide the line numbers (Default true) (WIP - Codeflask #132)

Markdown Compatability

TODO!

This plugin will be compatible with

npm i editorjs-markdown-parser

It will import/export using the code fence markdown style, with the language printed imediatly after the first fence, as described in GFM #117

Line-numbers cant be expressed in markdown, so will be ommited

Example :

```javascript
\\ Hello World
```

FAQs

Package last updated on 19 Apr 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