diff --git a/README.md b/README.md index fa4aba65..a23903a9 100644 --- a/README.md +++ b/README.md @@ -506,6 +506,23 @@ title: Search ## Shortcodes +### Code + +The `paige/code` shortcode provides a figure with centered, highlighted code and an optional, centered caption. + +These are the the named parameters with positions: + +``` +{{< paige/code lang="go" caption="My caption" options="linenos=true" >}} + + +
+Test
+ + +{{< /paige/code >}} +``` + ### Image The `paige/image` shortcode provides a figure with a centered image and an optional, centered caption. @@ -530,23 +547,6 @@ These are the named parameters without positions: {{< paige/image height=500 width=500 >}} ``` -### Code - -The `paige/code` shortcode provides a figure with centered, highlighted code and an optional, centered caption. - -These are the the named parameters with positions: - -``` -{{< paige/code lang="go" caption="My caption" options="linenos=true" >}} - - - -Test
- - -{{< /paige/code >}} -``` - ### Gallery The `paige/gallery` shortcode provides a figure with a set of images and an optional, centered caption.