1.3.6 • Published 4 days ago

@kong/markdown v1.3.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 days ago

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

Commitizen friendly

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 with commitlint, see lefthook.ymal
  • A pre-push hook is used that runs eslint 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.

1.3.6

12 days ago

1.3.5

16 days ago

1.3.4

1 month ago

1.3.3

2 months ago

1.3.2

2 months ago

1.3.1

2 months ago

1.3.0

2 months ago

1.2.0

3 months ago

1.1.0

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago

1.0.0-alpha.39

3 months ago

1.0.0-alpha.38

4 months ago

1.0.0-alpha.37

4 months ago

1.0.0-alpha.36

4 months ago

1.0.0-alpha.35

4 months ago

1.0.0-alpha.34

4 months ago

1.0.0-alpha.33

4 months ago

1.0.0-alpha.32

4 months ago

1.0.0-alpha.31

4 months ago

1.0.0-alpha.27

4 months ago

1.0.0-alpha.29

4 months ago

1.0.0-alpha.28

4 months ago

1.0.0-alpha.30

4 months ago

1.0.0-alpha.26

4 months ago

1.0.0-alpha.25

4 months ago

1.0.0-alpha.24

4 months ago

1.0.0-alpha.19

4 months ago

1.0.0-alpha.18

4 months ago

1.0.0-alpha.17

4 months ago

1.0.0-alpha.21

4 months ago

1.0.0-alpha.20

4 months ago

1.0.0-alpha.23

4 months ago

1.0.0-alpha.22

4 months ago

1.0.0-alpha.9

4 months ago

1.0.0-alpha.8

4 months ago

1.0.0-alpha.7

4 months ago

1.0.0-alpha.6

4 months ago

1.0.0-alpha.10

4 months ago

1.0.0-alpha.16

4 months ago

1.0.0-alpha.15

4 months ago

1.0.0-alpha.12

4 months ago

1.0.0-alpha.11

4 months ago

1.0.0-alpha.14

4 months ago

1.0.0-alpha.13

4 months ago

1.0.0-alpha.5

4 months ago

1.0.0-alpha.4

4 months ago

1.0.0-alpha.3

4 months ago

1.0.0-alpha.2

4 months ago

1.0.0-alpha.1

4 months ago

0.0.1

5 months ago