mirror of https://github.com/docker/docs.git
Replace all occurrences of
```foo
{% raw %}
bar
{% endraw %}
```
(which generates spurious empty lines in the rendered pre block) with
{% raw %}
```foo
bar
```
{% endraw %}
Also, fix some occurrences where the raw section is too large and
prevented interpretation of Jekyll directives.
This is the syntax used in the documentation of Jekyll itself:
https://raw.githubusercontent.com/jekyll/jekyll/master/docs/_docs/templates.md
FTR, done with two perl substitutions:
'^([\t ]*```[^\n]*
)([ \t]*\{% raw %\}[^\n]*
)' '$2$1'
and
'^([ \t]*\{% endraw %\}[^\n]*
)([\t ]*```[^\n]*
)' '$2$1'
and manually tweaks. A mechanical check would be most useful.
Signed-off-by: Akim Demaille <akim.demaille@docker.com>
|
||
|---|---|---|
| .. | ||
| api | ||
| examples | ||
| getstarted-voting-app/images | ||
| images | ||
| reference/commandline | ||
| security | ||
| swarm | ||
| tutorials | ||
| breaking_changes.md | ||
| docker-overview.md | ||
| faq.md | ||
| index.md | ||
| migration.md | ||