@kong/markdown v1.3.6
Kong Markdown
!IMPORTANT This repository and the
@kong/markdown
package are currently in development. Breaking changes should be expected.
Kong's open-source markdown renderer and live editor.
TODO
- Utilize design tokens
- Add new icons for toolbar
- Possibly export a separate bundle as a web component utilizing petite-vue
- Document theming instructions
- Light / Dark mode
- Default
shikiji
theme(s) - Supported languages (instead of allowing all)
Usage
Installation
Install the @kong/markdown
package in your host project.
pnpm add @kong/markdown
# OR
yarn add @kong/markdown
Props
v-model
- type:
String
- required:
false
- default:
''
Contributing & Local Development
To get started, install the package dependencies
pnpm install
Development Sandbox
This repository includes a Vue sandbox app (see the /sandbox
directory) to allow you to experiment with icons.
Build and Preview the Development Sandbox
To build and run a local preview of the Sandbox:
pnpm run preview
Lint and fix
Lint package files, and optionally auto-fix detected issues.
# Stylelint only
pnpm run stylelint
# Stylelint and fix
pnpm run stylelint:fix
# ESLint only
pnpm run lint
# ESLint and fix
pnpm run lint:fix
Testing
Unit and component tests are run with Vitest.
# Run tests
pnpm run test
# Run tests in the Vitest UI
pnpm run test:open
Build for production
pnpm run build
Committing Changes
This repo uses Conventional Commits.
Commitizen and Commitlint are used to help build and enforce commit messages.
It is highly recommended to use the following command in order to create your commits:
pnpm run commit
This will trigger the Commitizen interactive prompt for building your commit message.
Enforcing Commit Format
Lefthook is used to manage Git Hooks within the repo.
- A
commit-msg
hook is automatically setup that enforces commit message stands withcommitlint
, seelefthook.ymal
- A
pre-push
hook is used that runseslint
before allowing you to push your changes to the repository
Additionally, CI will use commitlint
to validate the commits associated with a PR in the Lint and Validate
job.
Package Publishing
This repository utilizes Semantic Release for automated package publishing and version updates.
4 days ago
4 days ago
4 days ago
4 days ago
12 days ago
12 days ago
12 days ago
12 days ago
16 days ago
16 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago