An esalike markdown support implemented as a NPM package
npm install esalikeWARNING: Current esalike has issues with the usage of esarea
An esa.io like markdown input support provided as a NPM package.
This package imported core features from esarea and is rewritten with TypeScript.
Install this package first.
``bash`
npm install esalike
Use ApplyMarkdownInputAssist function to apply esalike's markdown input support.
`typescript
import { ApplyMarkdownInputAssist } from 'esalike';
const editor = document.getElementById('YOUR_TEXTAREA_ID') as HTMLTextAreaElement;
ApplyMarkdownInputAssist(editor);
`
The latest versions of Chrome and Firefox.
You can try the demo app in this repo to see how esalike works.
`bash`
npm install
npm run dev # Open http://localhost:3000
npm run dev` builds both esalike package and the demo app. The command also keeps watching files for both directories to support development.