gitbot | The most popular Discord dev toolkit with 400k+ users | Chat library
kandi X-RAY | gitbot Summary
kandi X-RAY | gitbot Summary
The most popular Discord dev toolkit with 400k+ users 🚀✨
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get a pull request
- Get a single item
- Get issue details
- Called when a guild is joined
- Command for file verification
- Return the hash of the given attachment
- Update current working directory
- Return case of key
- Get file hash
- Save changes to locale
- Saves updated changes
- Return the number of lines in a file or directory
- Get project version data
- Handle URL
- Get text from GitLab
- Compile GitHub link
- Get raw data for a given crate
- Get the most recent downloads for a project
- Get project data
- Get all downloaded downloads
gitbot Key Features
gitbot Examples and Code Snippets
Community Discussions
Trending Discussions on gitbot
QUESTION
From the docs, it's clear that VuePress is using markdown-it for rendering Markdown, which it has extended with these beautiful custom containers.
I want to "extract" the Markdown renderer from VuePress (custom containers and all!) so that our in-browser Markdown editor shows a VuePress-esque version of the rendered Markdown (minus the sidebar, searchbar, etc).
As it's open source it's certainly possible - but poking around the VuePress code base hasn't revealed her secrets to me and unfortunately there is no "VuePress plugin" listed here.
The WhyIn order to encourage people to contribute to our docs, also built using VuePress, I'm building a simple static server that fetches the latest Markdown files from our master docs branch and shows them side by side in a text box that contains all the Markdown on the left and the rendered version on the right.
From the docs website, users can "Edit this page!" which takes them to the static server where they see a preview and have a Markdown editor, and can hit a button to "Save Changes". All pending changes are bundled up into a pull request by a file watcher, which triggers or updates an existing PR against the master docs branch using our Gitbot (which also has the advantage of going through review and being linted while avoiding exposing internal config stuff to non-technical docs contributors).
...ANSWER
Answered 2018-Jul-15 at 15:57VuePress currently uses the following markdown-it plugins:
markdown-it-anchor
markdown-it-container
(this is the one that seems to most interest you)markdown-it-emoji
markdown-it-table-of-contents
Its style files (apparently in Stylus format) are probably worth looking at, too.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gitbot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page