Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,5 @@
{% if titleOfSeverity %}<p class="admonition-title">{{ titleOfSeverity }}</p>
{% elseif title and isTitled %}<p class="admonition-title">{{ renderNode(title) }}</p>
{% endif %}
{% if title and not isTitled %}<p>{{ renderNode(title) }}</p>
{% endif %}
{{ renderNode(node) }}
</div>

1 change: 0 additions & 1 deletion tests/Integration/tests/admonitions/expected/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ <h2>Tip<a class="headerlink" href="#tip" data-bs-toggle="modal" data-bs-target="

<div class="admonition hint" role="alert">
<p class="admonition-title">Hint</p>
<p>One line hint</p>

</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- content start -->

<section class="section" id="markdown-admonitions">
<h1>MarkDown admonitions<a class="headerlink" href="#markdown-admonitions" data-bs-toggle="modal" data-bs-target="#linkReferenceModal" title="Reference this headline">&nbsp;<i class="fa-solid fa-link"></i></a></h1>

<div class="admonition note" role="alert">
<p class="admonition-title">Note</p>
<strong>Image and screenshot files</strong> should be placed within <code>Images/MyGuidesFileName/</code> where <code>MyGuidesFileName</code> is your guide&#039;s filename without the final <code>.md</code>.
</div>
</section>
<!-- content end -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# MarkDown admonitions

> [!NOTE]
> **Image and screenshot files** should be placed within `Images/MyGuidesFileName/` where `MyGuidesFileName` is your guide's filename without the final `.md`.
13 changes: 13 additions & 0 deletions tests/Integration/tests/markdown/readme/input/guides.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<guides xmlns="https://www.phpdoc.org/guides"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.phpdoc.org/guides vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd"
links-are-relative="true"
input-file="README.md"
input-format="md"
>

<extension class="\T3Docs\Typo3DocsTheme\DependencyInjection\Typo3DocsThemeExtension"
copy-sources="false"
/>
</guides>