Skip to content

Releases: comarkdown/comark

mdc-syntax v1.0.0

11 Feb 16:38

Choose a tag to compare

Easy to use stream ready markdown renderer.

Vue

<script setup>
import { MDC } from 'mdc-syntax/vue'
</script>

<template>
  <MDC markdown="# Hello *World*" />
</template>

React

import { MDC } from 'mdc-syntax/react'

export default function MyApp() {
  return (<MDC markdown="# Hello *World*" />)
}

@mdc-syntax/cjk v1.0.0

11 Feb 16:52

Choose a tag to compare

CJK language support

<script setup lang="ts">
import { MDC } from 'mdc-syntax/vue'
import cjkPlugin from '@mdc-syntax/cjk'

const chatMessage = ...
</script>

<template>
  <MDC :markdown="chatMessage" :options="{ plugins: [cjkPlugin] }" />
</template>