Package Exports
- mdne
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mdne) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mdne - Markdown Neo Edit
A simple markdown and code editor powered by Markdown-it, Ace and Carlo.
Features
- Live preview of Markdown, HTML, LSX formats.
- Export Markdown, HTML, LSX into PDF or HTML.
- Code highlighting.
- C#
- CSS
- GraphQL
- HTML
- JavaScript
- JSON
- Less
- Lisp
- Markdown
- Protobuf
- Python
- Sass
- Scss
- shell script
- SQL
- SVG
- TSX
- TypeScript
- XML
- YAML
- Markdown extended syntax
- Many markdown-it plugins are enabled. See here.
- Scripting and value expansion
- See here.
Install
Prerequirements
- Google Chrome
- Node>=10
Install from NPM
Linux, Chrome OS (Chromebook / Chromebox) Crostini
env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=TRUE npm install -g mdne
Windows
set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=TRUE npm install -g mdne
Create desktop and 'send to' menu shoorcuts (Windows)
- Download source zip archive from here.
- Extract zip archive and run
make-shortcut.cmd.NOTE: To run on
node>=12, runmake-shortcut-node12.cmdinstead.
Run
Open blank editor:
Linux, Windows
mdne ## To run on node>=12, use `mdne12` instead.Windows
mdnew ## To run on node>=12, use `mdnew12` instead.Chrome OS (Chromebook / Chromebox) Crostini
env MDNE_CHROME_CHANNEL_CHROMIUM=true mdne ## To run on node>=12, use `mdne12` instead.
Open file:
Linux
mdne README.md ## To run on node>=12, use `mdne12` instead.Windows
mdnew README.md ## To run on node>=12, use `mdnew12` instead.Chrome OS (Chromebook / Chromebox) Crostini
env MDNE_CHROME_CHANNEL_CHROMIUM=true mdne README.md ## To run on node>=12, use `mdne12` instead.
Integrations
- mdne-for-kintone
- Edit kintone record's field. (browser app)
CLI
Please use Ménneu CLI.
Live demo
https://shellyln.github.io/mdne/online.html
Open external files from live demo
- Drop a local file into FileDropOpenDialog.
- Set the target URL to a location hash.
- example: react-dom.development.js
- Fetching files is restricted by the Same-Origin Policy.
- example: react-dom.development.js
- Set zipped data to a location hash.
- example: hello.md
- location hash is generated when
SaveorSaveAscommands are done.
- location hash is generated when
- example: hello.md
Live demo browser requirements
- Google Chrome: latest
- Firefox: latest
Live demo restrictions
- Rendering / exporting to PDF is not available.
- Save and SaveAs commands download the file being edited.
Security warning
Exposing of Node side functions by RPC is enabled in preview iframe.
DON'T OPEN links to untrusted sites from the preview.
Exposed functions have the ability to list / read / write local files.
License
ISC
Copyright (c) 2019 Shellyl_N and Authors.
Bundled softwares' license
- Ace: license (BSD-3-Clause)
- Materialize: license (MIT)
- Normalize.css: license (MIT)
- React: license (MIT)
- pako: license (MIT + ZLIB)
- dialog-polyfill: license (BSD-3-Clause)