# Overview

[![markdown-compiler](https://s2.loli.net/2024/05/30/5uNIUdqkG1CpmQa.png)](https://github.com/WwwwwyDev/markdown-compiler)

## markdown-compiler

Writing a Markdown like programming

![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2FWwwwwyDev%2Fmarkdown-compiler%2Freleases%2Flatest\&query=%24.name\&label=version\&link=https%3A%2F%2Fgithub.com%2FWwwwwyDev%2Fmarkdown-compiler%2Freleases%2Flatest) [![GitHub stars](https://img.shields.io/github/stars/WwwwwyDev/markdown-compiler)](https://github.com/WwwwwyDev/markdown-compiler/stargazers)

{% embed url="<https://github.com/WwwwwyDev/markdown-compiler>" %}

{% embed url="<https://gitee.com/wu_wen_yi/markdown-compiler>" %}

### introduction

When the markdown text is too long, it may make it difficult to maintain. Using mkdc, you can write a markdown like programming, which supports variables, conditional judgment, loops, and modularity.

### installing

* Download the corresponding system's mkdc from the link below\
  [github](https://github.com/WwwwwyDev/markdown-compiler/releases/latest) | [gitee](https://gitee.com/wu_wen_yi/markdown-compiler/releases/latest)
* Decompress it and grant it executable permissions, add it to the environment variable

### quickly start

```shell
mkdc init hello-world
mkdc build hello-word
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wwydev.gitbook.io/mkdc/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
