Please wait...

小波Note

四川 · 成都市14 ℃
English

Custom components for Nuxt MDC, updating...

成都 (cheng du)7/22/2024, 2:46:17 PM1.57kEstimated reading time 5 minFavoriteCtrl + D / ⌘ + D
cover
IT FB(up 主)
Back-end development engineer

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