You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Linux ~/.vscode/extensions/darkriszty.markdown-table-prettify-3.0.0
@@ -37,6 +37,13 @@ Available features from the command line:
37
37
38
38
> Note: the `--silent` switch sets the npm log level to silent, which is useful to hide the executed file name and concentrate on the actual output.
39
39
40
+
### Formatting with docker
41
+
42
+
Available features from docker:
43
+
- To prettify a file: `docker container run -i darkriszty/prettify-md < input.md`.
44
+
- To prettify a file and save the output: `docker container run -i darkriszty/prettify-md < input.md > output.md`.
45
+
- To check whether a file is prettyfied or not: `docker container run -i darkriszty/prettify-md --check < input.md`. This will fail with an exception and return code `1` if the file is not prettyfied.
46
+
40
47
## Extension Settings
41
48
42
49
The extension is available for markdown language mode. It can either prettify a selected table (`Format Selection`) or the entire document (`Format Document`).
0 commit comments