From ab7b6d95dc6120018b5a2b40fbdcce4c241fb9a1 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 6 Apr 2015 11:08:24 -0600 Subject: [PATCH] Demonstrating markdown use in docs --- config/examples/example.html | 6 +----- examples_src/accessible.html | 7 +++++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config/examples/example.html b/config/examples/example.html index ea80d279f0..8855d43e91 100644 --- a/config/examples/example.html +++ b/config/examples/example.html @@ -29,16 +29,12 @@ {{{ contents }}}
-

{{ title }}

{{ shortdesc }}

-
- {{ md docs }} -
+
{{ md docs }}
{{ tags }}
-
diff --git a/examples_src/accessible.html b/examples_src/accessible.html index c7d61f01de..eb54411eb3 100644 --- a/examples_src/accessible.html +++ b/examples_src/accessible.html @@ -3,8 +3,11 @@ template: example.html title: Accessibility example shortdesc: Example of an accessible map. docs: > -

This page's map element has its tabindex attribute set to "0", that makes it focusable. To focus the map element you can either navigate to it using the "tab" key or use the skip link. When the map element is focused the + and - keys can be used to zoom in and out and the arrow keys can be used to pan.

-

When clicked the "Zoom in" and "Zoom out" buttons below the map zoom the map in and out, respectively. You can navigate to the buttons using the "tab" key, and press the "enter" key to trigger the zooming action.

+ This page's `map` element has its `tabindex` attribute set to `"0"`, that makes it focusable. To focus the map element you can either navigate to it using the "tab" key or use the skip link. When the `map` element is focused the + and - keys can be used to zoom in and out and the arrow keys can be used to pan. + + + Clicking on the "Zoom in" and "Zoom out" buttons below the map zooms the map in and out. You can navigate to the buttons using the "tab" key, and press the "enter" key to trigger the zooming action. + tags: "accessibility, tabindex" ---