# wordpress-seo/trunk/src/llms-txt/domain/markdown/items/item-interface.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 29 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/llms-txt/domain/markdown/items/item-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/llms-txt/domain/markdown/items/item-interface.php
- Modified: 2026-01-20T12:23:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/llms-txt/domain/markdown/items/item-interface.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded
namespace Yoast\WP\SEO\Llms_Txt\Domain\Markdown\Items;

use Yoast\WP\SEO\Llms_Txt\Application\Markdown_Escaper;

/**
 * Represents a markdown item.
 */
interface Item_Interface {

	/**
	 * Renders the item.
	 *
	 * @return string
	 */
	public function render(): string;

	/**
	 * Escapes the markdown content.
	 *
	 * @param Markdown_Escaper $markdown_escaper The markdown escaper.
	 *
	 * @return void
	 */
	public function escape_markdown( Markdown_Escaper $markdown_escaper ): void;
}

```
