From b6d22e869eae766add01cdfae6a3a0637a6da17c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 22 Jun 2016 11:45:43 -0700 Subject: [PATCH] runtime: Use headers for examples To provide anchors for linking [1]. [1]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc1/style.md#anchoring Signed-off-by: W. Trevor King --- runtime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime.md b/runtime.md index 7dbd66a..7c85e00 100644 --- a/runtime.md +++ b/runtime.md @@ -35,7 +35,7 @@ Print the runtime version and exit. * *stderr:* The runtime MAY print diagnostic messages to stderr, and the format for those lines is not specified in this document. * *Exit code:* The runtime MUST exit with zero. -Example: +#### Example ``` $ funC version @@ -59,7 +59,7 @@ Start a container from a bundle directory. For example, `LISTEN_FDS=2` would mean that the runtime MUST pass file descriptors 3 and 4 to the application process (in addition to the [standard streams][standard-streams]) to support [socket activation][systemd-listen-fds]. * *Exit code:* The runtime MUST exit with the application process's exit code. -Example: +#### Example ``` # in a bundle directory with a process that echos "hello" and exits 42