UNPKG

gatsby-remark-dictionary

Version:

Create a dictionary of word and phrases to be converted to highlighted values and links. define once and all phrases will be converted during build time.

27 lines (19 loc) 696 B
--- title: "Sub Page" metaTitle: "Syntax Highlighting is the meta title tag for this page" metaDescription: "This is the meta description for this page" --- The following is a code block with JavaScript language syntax highlighting. ```javascript import React from 'react'; ``` Supports multiple languages. The following is a code block with diff. Lines with `+` highlighted in green shade indicating an addition. Lines with `-` highlighted in red shade indicating a deletion. ```javascript - const data = ['1','2']; + const data = [1,2]; ``` ## Live Editing example ```javascript react-live=true <button className={'btn btn-default'}>Change my text</button> ```