How-to guide

How to convert Markdown to OKF

Convert Markdown to OKF by adding frontmatter, splitting broad pages, and linking related concepts.

Short answer

Convert Markdown to OKF by adding frontmatter, splitting broad pages, and linking related concepts.

Prerequisites

Step-by-step tutorial

  1. Find the concept boundary.
  2. Add YAML frontmatter.
  3. Rewrite vague headings.
  4. Add resource and tags.
  5. Validate the result.

Copyable example

How to convert Markdown to OKF example
---
type: Markdown Conversion
title: Converted Markdown page
description: Shows a Markdown page after adding OKF metadata.
resource: https://openknowledgeformat.online/guides/how-to-convert-markdown-to-okf/
tags: [okf, guide, example]
timestamp: 2026-06-21T00:00:00Z
---

# Purpose

Explain the stable facts, boundaries, owner notes, and related links for this concept.

# Links

- Validator: https://openknowledgeformat.online/okf-validator/
- Examples: https://openknowledgeformat.online/okf-examples/

Common mistakes

Validation method

  1. Paste the file into the OKF Validator.
  2. Fix errors before warnings.
  3. Check links and source claims manually.
  4. Add the file to the bundle index.

FAQ

Common questions

Does this require a database?

No. A folder of Markdown files is enough for the first version.

Can I automate this?

You can generate drafts, but owners should review source accuracy and boundaries.

Related pages

OKF Tutorial

Use the main tutorial for the full workflow.

Open page

OKF Examples

Compare bundle structures.

Open page

OKF Validator

Check the file before publishing.

Open page