Settings

Theme

Show HN: Extend Markdown on Static Sites with Inline JavaScript (Hexo/Vue.js)

flex.io

6 points by dzwillia 8 years ago · 1 comment

Reader

dzwilliaOP 8 years ago

Hi all -- we're using Hexo for our website. For our API docs we wanted to provide 'live' runnable code snippets in Markdown, so I came up with a way to make it easy for anyone on our team to add tiny Javascript apps in Markdown with a simple tag. Thought HN might find it useful too and happy to answer any questions.

The link above lets you play with live examples; GitHub repo here: https://github.com/flexiodata/markdown-components.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection