Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for: engine/reference/commandline/ps.md #44

Closed
sixcorners opened this issue Oct 5, 2016 · 4 comments
Closed

Feedback for: engine/reference/commandline/ps.md #44

sixcorners opened this issue Oct 5, 2016 · 4 comments
Assignees

Comments

@sixcorners
Copy link
Contributor

URL: engine/reference/commandline/ps.md

Actions are missing from the format parameters of examples on docs.docker.com.
I see $ docker ps --format "table \t" on the website and $ docker ps --format "table {{.ID}}\t{{.Labels}}" when looking the file being rendered by github. inspect.md has the same problem.

@iBobik
Copy link

iBobik commented Oct 6, 2016

It is probably because {{ }} is also syntax for Liquid, what is run by Jekyll, base of Github Pages.

Workaround:

{% raw %}
$ docker ps --format "table {{.ID}}\t{{.Labels}}"
{% endraw %}

@iBobik
Copy link

iBobik commented Oct 6, 2016

I asked in Jekyll forum for a better solution: https://talk.jekyllrb.com/t/how-to-turn-off-liquid-in-md/3078

@johndmulhausen
Copy link

Thanks for asking them for their thoughts, @iBobik . Looks like the only other option is crazy syntax such as {{ "string" }}}} which works in spite of intent/implementation rather than because of it. I tried {{ content | markdownify }} and it not only didn't solve the issue, it increased the build time by over 300%.

I think we're stuck using {% raw %}, which #48 applied. While that PR did have too wide of a scope on the pages, that's always something we can adjust if Liquid ever needs to be added to those 35 files.

If you ever dig up a novel solution, let us know!

@johndmulhausen johndmulhausen self-assigned this Oct 7, 2016
@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants