<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u" -->

---
title: From Markdown to Carve – DerEuroMark | daily.dev
description: A hands-on walkthrough covers migrating a Markdown document to Carve, a new markup language, using its command-line converter (available in Rust, JavaScript,...
canonical: https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: From Markdown to Carve – DerEuroMark | daily.dev
og:description: A hands-on walkthrough covers migrating a Markdown document to Carve, a new markup language, using its command-line converter (available in Rust, JavaScript,...
og:url: https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u
og:image: https://api.daily.dev/og/posts/XwPhZkH3u.png
og:image:alt: From Markdown to Carve – DerEuroMark
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# From Markdown to Carve – DerEuroMark

**[DerEuroMark](https://daily.dev/sources/dereuromark)** · 7 min read · 0 upvotes · 0 comments

## Summary

A hands-on walkthrough covers migrating a Markdown document to Carve, a new markup language, using its command-line converter (available in Rust, JavaScript, and PHP). It highlights four syntax differences worth reviewing after conversion: emphasis delimiters, heading attribute placement, list blank-line requirements, and explicit raw HTML handling. It also covers running Carve's linter to catch silent issues like broken cross-references or duplicate heading ids, comparing generated HTML structure (Carve wraps headings in `<section>` elements with case-preserving ids), and replacing old Markdown workarounds with native Carve features like callouts, figures with auto-numbering, header-free tables, abbreviations, and typed containers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.dereuromark.de/2026/09/24/from-markdown-to-carve>

## Questions this post answers

### How do I convert a Markdown file to Carve using the command line?

Install one of Carve's command-line implementations, for example the Rust binary via cargo install carve-lang, then run carve migrate --from markdown article.md > article.crv. Equivalent migration commands and APIs exist in JavaScript and PHP as well. The converter handles mechanical conversion of headings, links, images, block quotes, code, and lists, but the result should still be reviewed since Markdown dialects vary.

_Anyone weighing a markup migration can track workflow guides like this one on daily.dev._

### Why is my underscore text underlined instead of italic after converting Markdown to Carve?

In Carve, underscores are dedicated to underlined text rather than italics, unlike Markdown where underscores can mean italic or bold. Carve instead uses a slash for italic, a star for bold, a slash-star combination for bold-italic, a tilde for strikethrough, and equals signs for highlighting. This is the syntax change most likely to cause confusion during manual review after an automated conversion.

_Developers debugging markup rendering differences can find syntax breakdowns like this via daily.dev._

### Why do heading id links break after converting Markdown to a new markup format like Carve?

Trailing heading attributes such as {#install} placed at the end of a heading line, common in Pandoc and kramdown Markdown, are treated as literal heading text in Carve rather than as an id, which changes the generated id and breaks existing links while still producing plausible-looking HTML. Carve requires block attributes to precede the block, so {#install} must be moved above the heading, and a regex search like rg '\{[#.]' can find affected files before conversion.

_Teams migrating docs formats can keep tabs on breaking-change gotchas like this through daily.dev._

## Similar posts on daily.dev

- [Twenty years of Markdown hindsight, in one markup language: Carve – DerEuroMark](https://daily.dev/posts/twenty-years-of-markdown-hindsight-in-one-markup-language-carve-dereuromark-dlkda0ys5) · DerEuroMark · 0 upvotes · 0 comments
- [Why Carve markup Changes How You Author Rich Text in Shopware 6 – DerEuroMark](https://daily.dev/posts/why-carve-markup-changes-how-you-author-rich-text-in-shopware-6-dereuromark-tvnkoxeqe) · DerEuroMark · 1 upvotes · 1 comments
- [Markdown \(Aaron Swartz: The Weblog\)](https://daily.dev/posts/markdown-aaron-swartz-the-weblog--ds2vgoaxp) · Lobsters · 0 upvotes · 0 comments
- [Why the heck are we still using Markdown??](https://daily.dev/posts/why-the-heck-are-we-still-using-markdown--mud109xly) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#markdown](https://daily.dev/tags/markdown)

[View this post on daily.dev](https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"From Markdown to Carve – DerEuroMark","url":"https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u"},"datePublished":"2026-09-24T14:11:06.155Z","dateModified":"2026-09-24T14:11:33.638Z","description":"A hands-on walkthrough covers migrating a Markdown document to Carve, a new markup language, using its command-line converter (available in Rust, JavaScript,...","image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","thumbnailUrl":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","isAccessibleForFree":true,"articleSection":"DerEuroMark","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DerEuroMark","logo":"https://media.daily.dev/image/upload/s--OwbYUam1--/f_auto,q_auto/v1772962015/logos/dereuromark","url":"https://daily.dev/sources/dereuromark"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"markdown","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DerEuroMark","item":"https://daily.dev/sources/dereuromark"},{"@type":"ListItem","position":3,"name":"From Markdown to Carve – DerEuroMark"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/from-markdown-to-carve-dereuromark-xwphzkh3u#faq","mainEntity":[{"@type":"Question","name":"How do I convert a Markdown file to Carve using the command line?","acceptedAnswer":{"@type":"Answer","text":"Install one of Carve's command-line implementations, for example the Rust binary via cargo install carve-lang, then run carve migrate --from markdown article.md \u003e article.crv. Equivalent migration commands and APIs exist in JavaScript and PHP as well. The converter handles mechanical conversion of headings, links, images, block quotes, code, and lists, but the result should still be reviewed since Markdown dialects vary. Anyone weighing a markup migration can track workflow guides like this one on daily.dev."}},{"@type":"Question","name":"Why is my underscore text underlined instead of italic after converting Markdown to Carve?","acceptedAnswer":{"@type":"Answer","text":"In Carve, underscores are dedicated to underlined text rather than italics, unlike Markdown where underscores can mean italic or bold. Carve instead uses a slash for italic, a star for bold, a slash-star combination for bold-italic, a tilde for strikethrough, and equals signs for highlighting. This is the syntax change most likely to cause confusion during manual review after an automated conversion. Developers debugging markup rendering differences can find syntax breakdowns like this via daily.dev."}},{"@type":"Question","name":"Why do heading id links break after converting Markdown to a new markup format like Carve?","acceptedAnswer":{"@type":"Answer","text":"Trailing heading attributes such as {#install} placed at the end of a heading line, common in Pandoc and kramdown Markdown, are treated as literal heading text in Carve rather than as an id, which changes the generated id and breaks existing links while still producing plausible-looking HTML. Carve requires block attributes to precede the block, so {#install} must be moved above the heading, and a regex search like rg '\\{[#.]' can find affected files before conversion. Teams migrating docs formats can keep tabs on breaking-change gotchas like this through daily.dev."}}]}
```

