# Darstellungsprobleme Dokumentation

**URL:** https://forum.shopware.com/t/darstellungsprobleme-dokumentation/92750
**Category:** Shopware 6 (German)
**Created:** [3. Februar 2022 um 14:48 UTC](https://forum.shopware.com/t/darstellungsprobleme-dokumentation/92750 "2022-02-03T14:48:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![FSA](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@FSA](https://forum.shopware.com/u/FSA)
#### Post date: [3. Februar 2022 um 14:48 UTC](https://forum.shopware.com/t/darstellungsprobleme-dokumentation/92750/1 "2022-02-03T14:48:50Z")

</div>

Hi,  
ich stöbere gerade durch ein paar Artikel der Dokumentation und mir ist folgendes aufgefallen:

Auf

> **[Add custom Javascript](https://developer.shopware.com/docs/guides/plugins/plugins/storefront/add-custom-javascript)**

ist jede Codebeschreibung die TWIG Dateien zeigt komplett kaputt.  
Bsp.:

```auto
<div data-gb-custom-block data-tag="sw_extends" data-0='@Storefront/storefront/page/product-detail/index.html.twig'>

{% set examplePluginOptions = {
    text: "Are you not interested in this product?"
} %}

<div data-gb-custom-block data-tag="block">

    {{ parent() }}

    <template data-example-plugin data-example-plugin-options='{{ examplePluginOptions|json_encode }}'></template>

</div>

```

Das müsste allerdings irgendwie daran liegen wie es an diesem Ort dargestellt wird da es im GIT korrekt dargestellt wird.

> **[Build software better, together](https://github.com/shopware/docs/edit/master/guides/plugins/plugins/storefront/add-custom-javascript.md)**
>
> GitHub is where people build software. More than 73 million people use GitHub to discover, fork, and contribute to over 200 million projects.

```auto
{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}

{% block base_main_inner %}
    {{ parent() }}

    <template data-example-plugin></template>
{% endblock %}

```

---

<div class="post-metadata">

### Author: ![FSA](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@FSA](https://forum.shopware.com/u/FSA)
#### Post date: [4. Februar 2022 um 10:58 UTC](https://forum.shopware.com/t/darstellungsprobleme-dokumentation/92750/2 "2022-02-04T10:58:21Z")

</div>

@Max_Shop du weißt doch immer wen man hier anpingen muss (:

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [4. Februar 2022 um 11:18 UTC](https://forum.shopware.com/t/darstellungsprobleme-dokumentation/92750/3 "2022-02-04T11:18:17Z")

</div>

Die Dokumentation basiert doch auf GitHubBook, das ist OpenSource.

Ich glaube nicht, das Shopware da viel Einfluss darauf hat.

---

<div class="post-metadata">

### Author: ![FSA](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@FSA](https://forum.shopware.com/u/FSA)
#### Post date: [4. Februar 2022 um 12:37 UTC](https://forum.shopware.com/t/darstellungsprobleme-dokumentation/92750/4 "2022-02-04T12:37:38Z")

</div>

das wusste ich nicht, aber vielleicht kann man andere Escape Zeichen benutzen damit der Twig Code nicht verarbeitet wird (ich habe nur nicht die Zeit auch noch das zu recherchieren :^) ) - ich mein im Grunde ist das alles kein Problem, klickt man halt oben beim Artikel auf den Git Link, aber wer das nicht weiß und vielleicht noch neu im Umgang mit Shopware/den verwendeten Frameworks ist kann da schnell frustriert werden.  
Ich wollte nur darauf hinweisen, da ich nicht adhoc weiß wie das zu lösen wäre + das viele Stellen der Doku betrifft, so viel Liebe hab ich dann auch nicht da womöglich mehrere Stunden freie Arbeit reinzustecken
