Skip to content

Commit

Permalink
add box documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Oehrli committed Mar 1, 2021
1 parent 128687b commit 54acc17
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 54 deletions.
65 changes: 27 additions & 38 deletions de/1x10-General_Information.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ nicht unterstützt werden, sind wie folgt gekennzeichnet:
Grund, warum die spezifische Richtlinie nicht von den Validierern
unterstützt wird.

Das PL/SQL Cop Repository dokumentiert die [Details der Validatoreinschränkungen](https://github.com/Trivadis/plsql-cop-cli/blob/main/validator-limitations.md#guidelines).
Das PL/SQL Cop Repository dokumentiert die
[Details der Validatoreinschränkungen](https://github.com/Trivadis/plsql-cop-cli/blob/main/validator-limitations.md#guidelines).

### Warum sind Standards wichtig

Expand Down Expand Up @@ -117,13 +118,14 @@ Effektiver ist es,
zu forken und die Standards so zu ändern, dass sie Ihren
Bedürfnissen/Erwartungen entsprechen.

## Box Types
## Box-Typen

For a list of all available boxes and options visit the [`awesomebox` documentation](https://ctan.org/pkg/awesomebox).
Eine Liste aller verfügbaren Boxen und Optionen finden Sie in der
[`awesomebox`-Dokumentation](https://ctan.org/pkg/awesomebox).

```markdown
```Markdown
::: note
Lorem ipsum dolor ...
**Note** Lorem ipsum dolor ...
:::
```

Expand All @@ -135,83 +137,70 @@ Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```markdown
```Markdown
::: tip
Lorem ipsum dolor ...
**Tip** Lorem ipsum dolor ...
:::
```

::: tip
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Tipp** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```markdown
```Markdown
::: warning
Lorem ipsum dolor ...
**Warnung** Lorem ipsum dolor ...
:::
```

::: warning
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Warnung** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
liberov quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```caution
::: warning
Lorem ipsum dolor ...
```Markdown
::: caution
**Vorsicht** Lorem ipsum dolor ...
:::
```

::: caution
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Vorsicht** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
aliquet libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```markdown
```Markdown
::: important
Lorem ipsum dolor ...
**Wichtig** Lorem ipsum dolor ...
:::
```

::: important
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Wichtig** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

One can also use raw HTML `div` tags to create the custom environments.

```markdown
<div class="important">
Lorem ipsum dolor ...
</div>
```

<div class="important">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
</div>

Markdown formatting inside the environments is supported.
Markdown-Formatierung innerhalb der Umgebungen wird unterstützt.

::: important
**Lorem ipsum dolor** sit amet, `consectetur adipiscing` elit.

```
```JAVA
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
System.out.println("Lorem ipsum dolor sit amet");
}
```

Expand Down
33 changes: 17 additions & 16 deletions en/1x10-General_Information.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,18 @@ instead of 3 spaces for an indentation. This leads to a discussion where the
people in favor of 4 spaces start to argument as well. There is no right or
wrong here. You just have to agree on a standard.

More effective is to fork [this repository](https://github.com/Trivadis/plsql-and-sql-coding-guidelines)
More effective is to fork
[this repository](https://github.com/Trivadis/plsql-and-sql-coding-guidelines)
and amend the standards to fit your needs/expectations.


## Box Types

For a list of all available boxes and options visit the [`awesomebox` documentation](https://ctan.org/pkg/awesomebox).
For a list of all available boxes and options visit the
[`awesomebox` documentation](https://ctan.org/pkg/awesomebox).

```markdown
::: note
Lorem ipsum dolor ...
**Note** Lorem ipsum dolor ...
:::
```

Expand All @@ -127,55 +128,55 @@ felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.

```markdown
::: tip
Lorem ipsum dolor ...
**Tip** Lorem ipsum dolor ...
:::
```

::: tip
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Tip** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```markdown
::: warning
Lorem ipsum dolor ...
**Warning** Lorem ipsum dolor ...
:::
```

::: warning
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Warning** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```caution
::: warning
Lorem ipsum dolor ...
**Caution** Lorem ipsum dolor ...
:::
```

::: caution
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Caution** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet
libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
:::

```markdown
::: important
Lorem ipsum dolor ...
**Important** Lorem ipsum dolor ...
:::
```

::: important
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam aliquet libero
quis lectus elementum fermentum.
**Important** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
aliquet libero quis lectus elementum fermentum.

Fusce aliquet augue sapien, non efficitur mi ornare sed. Morbi at dictum
felis. Pellentesque tortor lacus, semper et neque vitae, egestas commodo nisl.
Expand Down

0 comments on commit 54acc17

Please sign in to comment.