### Generic Indented Code Block Example
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/definition_list.html
A simple indented block demonstrating a generic code snippet, often used in markdown to represent code or preformatted text.
```plaintext
code block
```
--------------------------------
### Convert Markdown Extra to HTML using ParsedownExtra (PHP)
Source: https://github.com/erusev/parsedown-extra/blob/master/README.md
This PHP code snippet demonstrates how to initialize the ParsedownExtra library and use it to convert Markdown text, including Markdown Extra features like custom class attributes, into HTML. The example shows how to add a class 'sth' to an H1 header.
```php
$Extra = new ParsedownExtra();
echo $Extra->text('# Header {.sth}'); # prints:
Header
```
--------------------------------
### Markdown Extra: Header with Multiple Attributes
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/special_attributes.md
This snippet demonstrates applying multiple CSS classes ('main', 'shine') and a custom ID ('the-site') to a second-level header simultaneously using Markdown Extra syntax.
```Markdown
## The Site ## {.main .shine #the-site}
```
--------------------------------
### Markdown Extra: Header with Class
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/special_attributes.md
This snippet illustrates how to apply a CSS class 'main' to a second-level header using Markdown Extra. This allows for specific styling of the header.
```Markdown
## The Site ## {.main}
```
--------------------------------
### Markdown Extra: Header with ID
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/special_attributes.md
This snippet demonstrates how to assign a custom ID to a top-level header using Markdown Extra syntax. The ID 'header1' can be used for direct linking or styling.
```Markdown
Header 1 {#header1}
========
```
--------------------------------
### Markdown Extra: Link with Multiple Attributes
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/special_attributes.md
This snippet shows how to add multiple attributes, including CSS classes ('primary', 'upper-case') and a custom ID ('link'), to a Markdown link using Markdown Extra syntax.
```Markdown
[link](http://parsedown.org) {.primary #link .upper-case}
```
--------------------------------
### Markdown Extra: Image with Attributes
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/special_attributes.md
This snippet demonstrates how to assign a custom ID ('logo') and a CSS class ('big') to an image in Markdown using Markdown Extra syntax, allowing for specific styling or referencing.
```Markdown
 {#logo .big}
```
--------------------------------
### Markdown Extra: Header with ID (Alternative Syntax)
Source: https://github.com/erusev/parsedown-extra/blob/master/test/data/special_attributes.md
This snippet shows an alternative Markdown Extra syntax for assigning a custom ID to a second-level header. The ID 'header2' is enclosed in curly braces after the header text.
```Markdown
## Header 2 ## {#header2}
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.