0.3.0 • Published 5 years ago
mdne-electron v0.3.0
mdne-electron - Markdown Neo Edit for Electron
A simple markdown and code editor powered by Markdown-it, Ace and Electron.
For details and features, please refer to Original version of mdne (for Carlo).
Features
- Live preview of Markdown, HTML, LSX formats.
- Export Markdown, HTML, LSX into PDF or HTML.
- Code highlighting.
- C#
- CSS
- Dockerfile
- Go
- GraphQL
- HTML
- JavaScript
- JSON
- JSON5
- JSX
- Latex
- Less
- Lisp
- Makefile
- Markdown
- Protobuf
- Python
- R
- Ruby
- Rust
- Sass
- Scss
- Shell script
- SQL
- SVG
- Tex
- TSX
- TypeScript
- XML
- YAML
- Markdown extended syntax
- Many markdown-it plugins are enabled. See here.
- Scripting and value expansion
- See here.
- Full screen mode (F11)
Requirements
- Optional Google Chrome (latest)
- for previewing as or exporting as PDF
Build scripts
Project setup
npm ci
# npm install # it causes a dependency updateCompiles for production
npm run buildCompiles for production (only electron main process)
npm run build:mainprocClean project
npm run cleanStart electron app for debug
npm run startBuild electron distribution executable files (unpacked)
npm run packBuild electron distribution executable files (packing to the installer)
npm run dist # build for current machine
# npm run dist:win # build for windows (x64)
# npm run dist:linux # build for linux (x64)
# npm run dist:mac # build for macos (x64)Run your tests
npm run testLints and fixes files
npm run lintElectron Documentation (security)
See this guide.
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)