dumbymap
v0.3.0
Published
Generate interactive maps from Semantic HTML
Downloads
793
Maintainers
Readme
Dumbymap
This library generate web maps from Semantic HTML, see demo page
Getting Started
Node.js:
npm install dumbymap
import { markdown2HTML, generateMaps } from 'dumbymap'
// Create container element
const container = document.createElement('div')
document.body.append(container)
// Convert markdown text into Semantic HTML
markdown2HTML(container, '# Heading\n\n```map\nid: foo\nuse: Maplibre\n```\n')
// Gernerate maps from code block
generateMaps(container)
browser (CDN):
TODOs
- Editor
- Better way to edit table in markdown
Ctrl-z
to resume last modificatioo- Reduce fontawesome resources
- Add favicon