# code-block-pro/1.1.0/build/shiki/samples/Marko.sample

Code Block Pro – Beautiful Syntax Highlighting, version 1.1.0. 13 lines.

- Page: https://pluginprobe.com/plugins/code-block-pro/1.1.0/code/build/shiki/samples/Marko.sample
- Raw: https://pluginprobe.com/plugins/code-block-pro/1.1.0/raw/build/shiki/samples/Marko.sample
- Modified: 2022-08-22T22:25:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/code-block-pro/1.1.0/code/build/shiki/samples/Marko.sample#L10-L20`.

```
<await(slowPromise) timeout=5000>
  <@then>Done</@then>
  <@catch|err|>
    <if(err.name === "TimeoutError")>
      Took too long to fetch the data!
    </if>
    <else>
      Promise failed with ${err.message}.
    </else>
  </@catch>
</await>

# from https://markojs.com/docs/core-tags/
```
