JSPM

@gracefullight/markdown

0.1.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 616
  • Score
    100M100P100Q71817F
  • License MIT

Markdown preprocessing utilities for Korean text rendering

Package Exports

  • @gracefullight/markdown

Readme

@gracefullight/markdown

Markdown preprocessing utilities for Korean (CJK) text authoring.

Fixes common issues around malformed bold markers and accidental strikethrough while preserving natural Korean rendering in react-markdown.

Install

npm install @gracefullight/markdown
# or
yarn add @gracefullight/markdown
# or
bun add @gracefullight/markdown

Usage

import { preprocessMarkdown } from "@gracefullight/markdown";

const raw = "** 쇼핑몰 기본디자인 (base)**: 현재는 사용 중이지 않은 기본 디자인입니다.";
const fixed = preprocessMarkdown(raw);
// => "**쇼핑몰 기본디자인 (base)**: 현재는 사용 중이지 않은 기본 디자인입니다."

What it fixes

Before After
** text ** **text**
**'상품명'**에 '**상품명**'에
**"상품명"**에 "**상품명**"에
~text~ \~text\~

License

MIT