From da456afffa5934490f93f5587bcec0c0503ecef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kre=C5=A1imir=20=C4=8Coko?= Date: Thu, 13 Aug 2020 14:23:30 +0200 Subject: [PATCH] feat(clayui.com): Add Code Sample Info to HTML/CSS collapsed code samples --- .../plugins/gatsby-remark-use-clipboard/index.js | 4 ++++ clayui.com/src/components/CodeToggle/index.js | 10 ++++++++-- clayui.com/src/styles/_code.scss | 13 +++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/clayui.com/plugins/gatsby-remark-use-clipboard/index.js b/clayui.com/plugins/gatsby-remark-use-clipboard/index.js index 8c27e74e4b..6c6a04a4bb 100644 --- a/clayui.com/plugins/gatsby-remark-use-clipboard/index.js +++ b/clayui.com/plugins/gatsby-remark-use-clipboard/index.js @@ -35,6 +35,10 @@ module.exports = ({markdownAST}) => { + + Code Sample (expand to see it) + +