-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #951 from phpDocumentor/backport/1.x/pr-944
[1.x] Fix Tex template name
- Loading branch information
Showing
149 changed files
with
4,922 additions
and
4,456 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/guides-theme-bootstrap/resources/template/body/directive/tabs/tabs-body.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<div class="tab-pane fade {%- if tab.active %} show active{% endif -%}" id="{{ tab.key }}-{{ tabsId }}" role="tabpanel" aria-labelledby="{{ tab.key }}-tab-{{ tabsId }}"> | ||
{{ renderNode(tab.value) }} | ||
</div> | ||
{# force a new line at the end of the file #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
{{ renderNode(tab.content) }} | ||
</button> | ||
</li> | ||
{# force a new line at the end of the file #} |
28 changes: 15 additions & 13 deletions
28
packages/guides-theme-bootstrap/resources/template/body/menu/mainmenu/menu-level.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
|
||
<ul class="level-{{ menuEntry.level }}"> | ||
{% for entry in menuEntry.children -%} | ||
<li><a href="{{ renderLink(entry.url) }}" | ||
class="nav-link {%- if menu.currentPath == entry.url %} current {%- endif -%}{% if entry.url in menu.rootlinePaths %} active {%- endif -%}" | ||
{%- if menu.currentPath == entry.url %} aria-current="page" {%- endif -%} > | ||
{{ renderNode(entry.value.value) }} | ||
</a> | ||
{% for entry in menuEntry.children -%} | ||
<li> | ||
<a href="{{ renderLink(entry.url) }}" | ||
class="nav-link {%- if menu.currentPath == entry.url %} current {%- endif -%}{% if entry.url in menu.rootlinePaths %} active {%- endif -%}" | ||
{%- if menu.currentPath == entry.url %} aria-current="page" {%- endif -%}> | ||
{{- renderNode(entry.value.value) -}} | ||
</a> | ||
|
||
{%- if entry.children|length %} | ||
{% include "body/menu/mainmenu/menu-level.html.twig" with { | ||
menuEntry:entry | ||
} %} | ||
{%- endif -%} | ||
</li> | ||
{% endfor %} | ||
{%- if entry.children|length %} | ||
{% include "body/menu/mainmenu/menu-level.html.twig" with { | ||
menuEntry:entry | ||
} %} | ||
{%- endif ~%} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{# force a new line at the end of the file #} |
39 changes: 20 additions & 19 deletions
39
packages/guides-theme-bootstrap/resources/template/body/menu/mainmenu/menu.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
<nav class="nav flex-column"> | ||
{% if node.caption %} | ||
<h2>{{ renderNode(node.caption) }}</h2> | ||
{% endif %} | ||
<ul class="menu-level-main"> | ||
{% for entry in node.menuEntries -%} | ||
<li><a href="{{ renderLink(entry.url) }}" | ||
class="nav-link {%- if node.currentPath == entry.url %} current {%- endif -%}{% if entry.url in node.rootlinePaths %} active {%- endif -%}" | ||
{%- if node.currentPath == entry.url %} aria-current="page" {% endif -%} > | ||
{{ renderNode(entry.value.value) }} | ||
</a> | ||
{% if node.caption %} | ||
<h2>{{ renderNode(node.caption) }}</h2> | ||
{% endif %} | ||
<ul class="menu-level-main"> | ||
{% for entry in node.menuEntries -%} | ||
<li> | ||
<a href="{{ renderLink(entry.url) }}" | ||
class="nav-link {%- if node.currentPath == entry.url %} current {%- endif -%}{% if entry.url in node.rootlinePaths %} active {%- endif -%}" | ||
{%- if node.currentPath == entry.url %} aria-current="page"{% endif -%}> | ||
{{- renderNode(entry.value.value) -}} | ||
</a> | ||
|
||
{%- if entry.children|length %} | ||
{% include "body/menu/mainmenu/menu-level.html.twig" with { | ||
menu:node, | ||
menuEntry:entry | ||
} %} | ||
{%- endif -%} | ||
{%- if entry.children|length %} | ||
{% include "body/menu/mainmenu/menu-level.html.twig" with { | ||
menu:node, | ||
menuEntry:entry | ||
} %} | ||
{%- endif ~%} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
{% endfor %} | ||
</ul> | ||
</nav> | ||
{# force a new line at the end of the file #} |
20 changes: 10 additions & 10 deletions
20
packages/guides-theme-bootstrap/resources/template/body/menu/navbar/menu-level.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
|
||
<ul class="level-{{ node.level }}"> | ||
{% for entry in node.menuEntries -%} | ||
{% apply spaceless %} | ||
<li class="nav-item"> | ||
<a href="{{ renderLink(entry.url) }}" | ||
class="nav-link {%- if menu.currentPath == entry.url %} current {%- endif -%}{% if entry.url in menu.rootlinePaths %} active {%- endif -%}" | ||
{%- if menu.currentPath == entry.url %} aria-current="page" {% endif %} > | ||
{{ renderNode(entry.value.value) }} | ||
</a> | ||
</li> | ||
{% endapply %} | ||
{%- endfor %} | ||
<li class="nav-item"> | ||
<a href="{{ renderLink(entry.url) }}" | ||
class="nav-link {%- if menu.currentPath == entry.url %} current {%- endif -%}{% if entry.url in menu.rootlinePaths %} active {%- endif -%}" | ||
{%- if menu.currentPath == entry.url %} aria-current="page"{% endif %}> | ||
{{- renderNode(entry.value.value) -}} | ||
</a> | ||
</li> | ||
{%~ endfor %} | ||
</ul> | ||
{# force a new line at the end of the file #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/guides/resources/template/html/body/admonition.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/guides/resources/template/html/body/container.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<div class="{{ class }}"{% if id is defined and id %} id="{{ id }}"{% endif %}> | ||
{{ renderNode(node) }} | ||
</div> | ||
{# force a new line at the end of the file #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
{{ renderNode(child) }} | ||
{% endfor %} | ||
</{{ keyword }}> | ||
{# force a new line at the end of the file #} |
11 changes: 6 additions & 5 deletions
11
packages/guides/resources/template/html/body/menu/menu-item.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<li class="toc-item {%- if node.isCurrent %} current{% endif -%} {%- if node.isInRootline %} active{% endif -%}"><a href="{{ url }}">{{ node.value.toString }}</a> | ||
{%- if node.children|length %} | ||
<li class="toc-item {%- if node.isCurrent %} current{% endif -%} {%- if node.isInRootline %} active{% endif -%}"> | ||
<a href="{{ url }}">{{ node.value.toString }}</a> | ||
{%~ if node.children|length %} | ||
<ul class="menu-level-{{ node.level }}"> | ||
{% for child in node.children -%} | ||
{{ renderNode(child) }} | ||
{% endfor %} | ||
</ul> | ||
{%- endif -%} | ||
{%- if node.sections|length %} | ||
{%- endif ~%} | ||
{%~ if node.sections|length %} | ||
<ul class="section-level-{{ node.level }}"> | ||
{% for subsection in node.sections -%} | ||
{{ renderNode(subsection) }} | ||
{% endfor %} | ||
</ul> | ||
{%- endif -%} | ||
{%- endif ~%} | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
{{ renderNode(entry) }} | ||
{% endfor %} | ||
</ul> | ||
{# force a new line at the end of the file #} |
10 changes: 4 additions & 6 deletions
10
packages/guides/resources/template/html/body/paragraph.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{% apply spaceless %} | ||
{% set text = renderNode(node.value) %} | ||
{% set text = renderNode(node.value) %} | ||
|
||
{% if text %} | ||
<p{% if node.classes %} class="{{ node.classesString }}"{% endif %}>{{ text|raw }}</p> | ||
{% endif %} | ||
{% endapply %} | ||
{% if text %} | ||
<p{% if node.classes %} class="{{ node.classesString }}"{% endif %}>{{ text|raw }}</p> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<blockquote{% if node.classes %} class="{{ node.classesString }}"{% endif %}>{{ renderNode(node.value) }}</blockquote> | ||
<blockquote{% if node.classes %} class="{{ node.classesString }}"{% endif %}>{{- renderNode(node.value) -}}</blockquote> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
{% include "body/table/table-cell.html.twig" %} | ||
{% endfor %} | ||
</tr> | ||
{# force a new line at the end of the file #} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/anchor.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<a id="{{- node.value -}}"></a> | ||
{% endapply %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% apply spaceless %}{{ include('inline/link.html.twig') }}{% endapply %} | ||
{{- include('inline/link.html.twig') -}} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/emphasis.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<em>{{- node.value -}}</em> | ||
{% endapply %} |
3 changes: 1 addition & 2 deletions
3
packages/guides/resources/template/html/inline/image.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
{% apply spaceless %}<img src="{{- node.url -}}" alt="{{- node.altText -}}"/> | ||
{% endapply %} | ||
<img src="{{- node.url -}}" alt="{{- node.altText -}}"/> |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/literal.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<code>{{- node.value -}}</code> | ||
{% endapply %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% apply spaceless %} {% endapply %} | ||
|
2 changes: 1 addition & 1 deletion
2
packages/guides/resources/template/html/inline/newline.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% apply spaceless %}<br>{% endapply %} | ||
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% apply spaceless %}{{ include('inline/link.html.twig') }}{% endapply %} | ||
{{- include('inline/link.html.twig') -}} |
3 changes: 1 addition & 2 deletions
3
packages/guides/resources/template/html/inline/strong.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
{% apply spaceless %}<strong>{{- node.value -}}</strong> | ||
{% endapply %} | ||
<strong>{{- node.value -}}</strong> |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/abbreviation.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<abbr title="{{ node.definition }}"{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.term }}</abbr> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/aspect.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<em class="aspect{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</em> | ||
{% endapply %} |
2 changes: 1 addition & 1 deletion
2
packages/guides/resources/template/html/inline/textroles/br.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{%- apply spaceless %}<br/>{% endapply -%} | ||
<br/> |
3 changes: 0 additions & 3 deletions
3
packages/guides/resources/template/html/inline/textroles/code.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
{% apply spaceless %} | ||
<code{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</code> | ||
|
||
{% endapply %} |
3 changes: 0 additions & 3 deletions
3
packages/guides/resources/template/html/inline/textroles/command.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
{% apply spaceless %} | ||
<strong class="command{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</strong> | ||
|
||
{% endapply %} |
3 changes: 0 additions & 3 deletions
3
packages/guides/resources/template/html/inline/textroles/dfn.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
{% apply spaceless %} | ||
<em class="dfn{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</em> | ||
|
||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/emphasis.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<em{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</em> | ||
{% endapply %} |
3 changes: 0 additions & 3 deletions
3
packages/guides/resources/template/html/inline/textroles/file.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
{% apply spaceless %} | ||
<span class="pre file{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</span> | ||
|
||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/guilabel.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<span class="guilabel{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</span> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/kbd.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<kbd{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</kbd> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/literal.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<code{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</code> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/mailheader.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<em class="mailheader{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</em> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/math.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<math{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</math> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/span.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<span{%- if node.class %} class="{{ node.class }}"{% endif %}>{{- node.value -}}</span> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/strong.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<strong{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</strong> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/sub.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<sub{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</sub> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/subscript.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<sub{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</sub> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/sup.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<sup{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</sup> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/superscript.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<sup{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</sup> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/t.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<cite{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</cite> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/title-reference.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<cite{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</cite> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/title.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<cite{%- if node.class %} class="{{ node.class }}"{% endif %}>{{ node.value }}</cite> | ||
{% endapply %} |
2 changes: 0 additions & 2 deletions
2
packages/guides/resources/template/html/inline/textroles/unknown.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{% apply spaceless %} | ||
<code class="{{ node.type }}{%- if node.class %} {{ node.class }}{% endif %}">{{ node.value }}</code> | ||
{% endapply %} |
3 changes: 1 addition & 2 deletions
3
packages/guides/resources/template/html/inline/variable.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
{% apply spaceless %}{{ renderNode(node.child) }} | ||
{% endapply %} | ||
{{- renderNode(node.child) -}} |
11 changes: 4 additions & 7 deletions
11
packages/guides/resources/template/tex/body/paragraph.tex.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
{% apply spaceless %} | ||
{% set text = renderNode(node.value) %} | ||
{%- set text = renderNode(node.value) -%} | ||
|
||
{% if text|trim %} | ||
{{ text|raw }} | ||
|
||
{% endif %} | ||
{% endapply %} | ||
{%- if text|trim %} | ||
{{- text|raw -}} | ||
{% endif -%} |
Oops, something went wrong.