Please wait...

小波Note

四川 · 成都市小雨7 ℃
English

Custom components for Nuxt MDC, updating...

This article is optional language
成都Mon, July 22, 2024 at 2 PM1.57k192Estimated reading time 3 min
QR code
FavoriteCtrl + D

This is a secondary title

This is a tertiary title

This is a quaternary title

Tip

Title of the tip

This is the content of a tip

Inline code

const codeInline: string = 'highlighted code inline'

Code block

server/api/parse-md.ts
        import { parseMarkdown } from '@nuxtjs/mdc/runtime'

export default eventHandler(async () => {
  const mdc = [
    '# Hello MDC',
    '',
    '::alert',
    'This is an Alert',
    '::'
  ].join('\n')

  const ast = await parseMarkdown(mdc)   return ast  return await parseMarkdown(mdc) })

    

This is an internal jump link

This is a link to softmk

Image

Click to enlarge and view

This is an image

Todo list

Plan one

Plan two

Plan three

Software card

Java
22.0.1
download

Icon Button

Icon Button Nuxt TI FB Use in line

Astral