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
npm install -g mdneNOTE: To run on
node 12or leter, you need to fix lacking of the node CLI option--es-module-specifier-resolution=nodeafter installed.If you are using Windows and only use the app from the desktop or "send-to" shortcuts described below, there is no need to fix it.
%AppData%\npm\mdne.cmd(Windows; cmd.exe)@IF EXIST "%~dp0\node.exe" ( "%~dp0\node.exe" --experimental-modules --es-module-specifier-resolution=node --no-warnings "%~dp0\node_modules\mdne\index.mjs" %* ) ELSE ( @SETLOCAL @SET PATHEXT=%PATHEXT:;.JS;=;% node --experimental-modules --es-module-specifier-resolution=node --no-warnings "%~dp0\node_modules\mdne\index.mjs" %* )%AppData%\npm\mdne(Windows; MinGW64, cygwin, ...)#!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") case `uname` in *CYGWIN*) basedir=`cygpath -w "$basedir"`;; esac if [ -x "$basedir/node" ]; then "$basedir/node" --experimental-modules --es-module-specifier-resolution=node --no-warnings "$basedir/node_modules/mdne/index.mjs" "$@" ret=$? else node --experimental-modules --es-module-specifier-resolution=node --no-warnings "$basedir/node_modules/mdne/index.mjs" "$@" ret=$? fi exit $ret
$(which mdne)(Linux)#!/usr/bin/env node --experimental-modules --es-module-specifier-resolution=node --no-warnings // Copyright (c) 2019 Shellyl_N and Authors // license: ISC // https://github.com/shellyln import './lib/extension'; ...
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 12or leter, runmake-shortcut-node12.cmdinstead.
Run
Open blank editor:
mdneOpen file:
mdne README.mdSecurity 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.