Preview: i18n in One Page by css-i18n
CSS I18n Plugin for Markdown-It.
npm i markdown-it-container css-i18n
# pnpm add markdown-it-container css-i18n
import { cssI18nContainer } from 'css-i18n'
import MarkdownIt from 'markdown-it'
const md = new MarkdownIt()
md.use(cssI18nContainer, {
languages: ['zh-CN', 'en']
})
// in client
import 'css-i18n/dist/index.css'
// source scss
// import 'css-i18n/src/index.scss'