Title: MTM HTML to Markdown
Author: mtmplugins
Published: <strong>2026년 1월 16일</strong>
Last modified: 2026년 1월 16일

---

플러그인 검색

![](https://ps.w.org/mtm-html-to-markdown/assets/banner-772x250.png?rev=3441140)

![](https://ps.w.org/mtm-html-to-markdown/assets/icon-128x128.png?rev=3441140)

# MTM HTML to Markdown

 작성자: [mtmplugins](https://profiles.wordpress.org/mtmplugins/)

[다운로드](https://downloads.wordpress.org/plugin/mtm-html-to-markdown.1.0.0.zip)

 * [세부사항](https://ko.wordpress.org/plugins/mtm-html-to-markdown/#description)
 * [평가](https://ko.wordpress.org/plugins/mtm-html-to-markdown/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/mtm-html-to-markdown/#installation)
 * [개발](https://ko.wordpress.org/plugins/mtm-html-to-markdown/#developers)

 [지원](https://wordpress.org/support/plugin/mtm-html-to-markdown/)

## 설명

Serve cached Markdown versions of WordPress URLs at .md.txt with YAML frontmatter.
No theme changes required.

When a visitor requests a URL ending in `.md.txt`, the plugin:
 1. loads the page
HTML, 2. extracts the primary content (default selector: `main`), 3. converts HTML
to Markdown, 4. prepends YAML frontmatter (metadata), 5. returns the result with
short-term caching.

This keeps your normal site unchanged while exposing a clean Markdown output for
tooling, archiving, and AI-friendly documentation workflows.

Key features include:

 * `.md.txt` endpoint for pages, posts, and public custom post types
 * YAML frontmatter headers for structured metadata (title, slug, canonical URL,
   generated time)
 * HTML  Markdown conversion via League HTML to Markdown
 * Builder-noise cleanup for common wrappers (Divi, Elementor, block markup)
 * Configurable selector (default: `main`)
 * Cached output to reduce repeated conversions
 * Optional “Force Update” from the admin panel for refreshing the Markdown cache.

#### LLMs.txt / AI Documentation Workflows

Many teams maintain a `/llms.txt` index file that links to “detail” Markdown pages
for fast AI ingestion and navigation.
 This plugin can act as the “detail page generator”
by making each page available as Markdown via a stable URL.

Typical pattern:
 – `/llms.txt` lists key pages (human curated) – each entry links
to the corresponding `.md.txt` URL for full content

(If you publish `/llms.txt`, confirm it only includes URLs you intend to expose 
publicly.)

#### Example Output

plugin: “MTM HTML to Markdown”
 source_url: “https://example.com/sample-page/” generated_at:“
2026-01-08T13:00:00-05:00”

slug: “sample-page”

Sample Page

(Body converted to Markdown…)

### Troubleshooting

#### I get a 404 on .md.txt URLs

Confirm pretty permalinks are enabled, then re-save Settings  Permalinks to flush
rewrite rules.
 If a caching layer/CDN is in front of the site, purge cache for 
the `.md.txt` path.

#### Output is missing content

If your theme does not use a element, change the selector to match the real content
container (e.g., #content).

### Credits

Developed by Moving Traffic Media & YSC.
 Uses [League HTML to Markdown](https://github.com/thephpleague/html-to-markdown)
under MIT license.

### License

This program is free software: you can redistribute it and/or modify it under the
terms of the **GNU General Public License v2 or later**.
 See the full license at
[https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html).

## 스크린샷

 * [[
 * Settings screen showing selector configuration
 * [[
 * Example Markdown output with YAML frontmatter

## 설치

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate via the WordPress Plugins screen.
 3. Visit Settings  MTM HTML to Markdown to adjust the content selector (default: `
    main`).
 4. Ensure “pretty permalinks” are enabled (Settings  Permalinks).
 5. Append `.md.txt` to any public URL: https://example.com/sample-page.md.txt

## FAQ

### How do I generate the Markdown version of a page?

Simply append `.md.txt` to the end of any page, post, or custom post type URL.
 
Example: `https://example.com/sample-page.md.txt`

### How do I generate the Markdown version of the homepage?

For the homepage, you need to use the `home` slug in the URL.
 Example: `https://
example.com/home.md.txt` Accessing `https://example.com/.md.txt` or `https://example.
com/index.md.txt` will not work unless configured otherwise.

### Can I select a specific part of the page for conversion?

Yes. Go to **Settings  MTM HTML to Markdown** and enter the HTML tag or ID you want
to extract (default: `main`).

### Does this plugin work with page builders like Divi or Elementor?

In most cases, yes. The conversion uses the rendered HTML output and includes cleanup
to reduce common wrapper noise.
 Highly dynamic or JS-rendered fragments may not
appear in server-generated HTML.

### How long is the Markdown cached?

By default, converted Markdown is cached for **15 minutes**.

To force a refresh of the Markdown cache for a page, append the following parameters
to the `.md.txt` URL: ?force_update=1&mtm_md_nonce=

For example: https://example.com/sample-page.md.txt?force_update=1&mtm_md_nonce=

If you are unsure about the nonce, you can use the **“Force Update Markdown” button**
in the plugin settings page. Enter the page slug, and it will open the correct URL
in a new tab with the nonce automatically included.

### Does this change my site’s normal pages or SEO?

Normal URLs remain unchanged. Markdown is only served when `.md.txt` is requested.

### Does the plugin track users or send data to external services?

No. The plugin does not send page content or visitor data to external servers.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“MTM HTML to Markdown”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ mtmplugins ](https://profiles.wordpress.org/mtmplugins/)

[자국어로 “MTM HTML to Markdown”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/mtm-html-to-markdown)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/mtm-html-to-markdown/)
는, [SVN 저장소](https://plugins.svn.wordpress.org/mtm-html-to-markdown/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/mtm-html-to-markdown/)을 [RSS](https://plugins.trac.wordpress.org/log/mtm-html-to-markdown/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0.0

 * First public release
 * Converts pages, posts, and custom post types to Markdown
 * Handles page builder HTML cleanup
 * Adds YAML headers with plugin info, URL, slug, and generation date
 * Short-term caching and optional force refresh
 * Settings page to configure HTML selector
 * Added Force Update option via admin button or URL with nonce

## 기초

 *  버전 **1.0.0**
 *  최근 업데이트: **4개월 전**
 *  활성화된 설치 **20+**
 *  워드프레스 버전 ** 5.0 또는 그 이상 **
 *  다음까지 시험됨: **6.9.4**
 *  PHP 버전 ** 7.4 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/mtm-html-to-markdown/)
 * 태그:
 * [caching](https://ko.wordpress.org/plugins/tags/caching/)[export](https://ko.wordpress.org/plugins/tags/export/)
   [html](https://ko.wordpress.org/plugins/tags/html/)[markdown](https://ko.wordpress.org/plugins/tags/markdown/)
   [mtm](https://ko.wordpress.org/plugins/tags/mtm/)
 *  [고급 보기](https://ko.wordpress.org/plugins/mtm-html-to-markdown/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/mtm-html-to-markdown/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/mtm-html-to-markdown/reviews/)

## 기여자

 *   [ mtmplugins ](https://profiles.wordpress.org/mtmplugins/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/mtm-html-to-markdown/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://movingtrafficmedia.com/)