v-hotkey
remark-directive
v-hotkey | remark-directive | |
---|---|---|
1 | 4 | |
723 | 224 | |
- | 6.3% | |
0.0 | 6.4 | |
about 1 year ago | 6 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
v-hotkey
-
Implement Hotkeys in Vue 3
I am building a small web application using Vue 3 for my university. I have to implement "global" hotkeys into the application so that the user can quickly add or edit data in the application. I found many libraries that offer such functionality, but they seem to be build for Vue 2.x and not Vue 3. Examples: - https://github.com/shentao/vue-global-events/tree/next - https://github.com/iFgR/vue-shortkey - https://github.com/Dafrok/v-hotkey
remark-directive
-
How to support admonition (or callout) in Markdown
Fortunately, we don't have to write any code as there is remark-directive that does exactly what we need.
-
What are the weirdest CMS you've seen used to host content?
The projects this solutions works with are customised Sveltekit projects I made. It has everything: markdown parser using Mdsvex, image converting tool using vite-imagetools, it has toml parser, and of course live preview and lots of other smaller things like markdown directives.
-
MDSveX: The bridge between Markdown and Svelte
The coolest thing is that MDSveX hooks into remark and rehype, which provides a whole ecosystem of plugins to choose from.
-
Does anyone know of an editor that supports directives?
No, not formally, but there are plugins for the various process that implement it based on the spec I linked to, like markdown-it and remark.
What are some alternatives?
hotkeys-js - ➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
rehype - HTML processor powered by plugins part of the @unifiedjs collective
vue-global-events - ⌨️ Register global events as a component
remark - markdown processor powered by plugins part of the @unifiedjs collective
vue-shortkey - Vue-ShortKey - The ultimate shortcut plugin to improve the UX
MDsveX - A markdown preprocessor for Svelte.
vueuse - Collection of essential Vue Composition Utilities for Vue 2 and 3
mdx - Markdown for the component era
markdown-it-container - Fenced container plugin for markdown-it markdown parser
rehype-toc - A rehype plugin that adds a table of contents (TOC) to the page
remark-react - Legacy plugin to transform to React — please use `remark-rehype` and `rehype-react` instead
remark-extended-table - remark plugin to support table syntax allowing colspan / rowspan