# Markdown Workbench

Import drafts while preserving headings, lists, and code blocks.

## Project overview

Extract a leading H1 and store the body as Markdown so the source stays editable.

## Goal

Import drafts while preserving headings, lists, and code blocks.

## Implementation

Extract a leading H1 and store the body as Markdown so the source stays editable.

## Try it

Import a file with a title, a list, and a code block, then verify that the preview links to each heading.

```
const html = markdown.render(source);
```

## Tech stack

- Markdown
- markdown-it
- Node.js

## Project facts

- **Type** — Sample project
- **Technology** — Markdown

- [Read the reference](<https://github.com/markdown-it/markdown-it>)
