From 9a24b60cdfbbcfc8e0d8d5bcc946dc09b4bbd3d4 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 31 May 2017 16:53:05 +0200 Subject: [PATCH] Removed references to Clipboard from docs --- docs/getting-started.md | 51 +++++++++++++---------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 91fe58877..e4b3ff686 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -412,31 +412,16 @@ extra: tabs: true ``` -### Clipboard.js Integration - -Material supports [Clipboard.js][20] and will provide overlays on code blocks -for easy copying. When mousing over a code block you will see a button in -the upper right hand corner of the code. You can click the icon and have the -entire content of the that code block copied to the clipboard without needing -Flash. Clipboard.js support can be enabled by with the following settings: - -```yaml -extra_javascript: - - https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.6.1/clipboard.min.js -``` - - [20]: https://clipboardjs.com/ - ### More advanced customization If you want to change the general appearance of the Material theme, see -[this article][21] for more information on advanced customization. +[this article][20] for more information on advanced customization. - [21]: customization.md + [20]: customization.md ## Extensions -MkDocs supports several [Markdown extensions][22]. The following extensions +MkDocs supports several [Markdown extensions][21]. The following extensions are not enabled by default (see the link for which are enabled by default) but highly recommended, so they should be switched on at all times: @@ -450,20 +435,20 @@ markdown_extensions: For more information, see the following list of extensions supported by the Material theme including more information regarding installation and usage: -* [Admonition][23] -* [Codehilite][24] -* [Footnotes][25] -* [Metadata][26] -* [Permalinks][27] -* [PyMdown Extensions][28] +* [Admonition][22] +* [Codehilite][23] +* [Footnotes][24] +* [Metadata][25] +* [Permalinks][26] +* [PyMdown Extensions][27] - [22]: http://www.mkdocs.org/user-guide/writing-your-docs/#markdown-extensions - [23]: extensions/admonition.md - [24]: extensions/codehilite.md - [25]: extensions/footnotes.md - [26]: extensions/metadata.md - [27]: extensions/permalinks.md - [28]: extensions/pymdown.md + [21]: http://www.mkdocs.org/user-guide/writing-your-docs/#markdown-extensions + [22]: extensions/admonition.md + [23]: extensions/codehilite.md + [24]: extensions/footnotes.md + [25]: extensions/metadata.md + [26]: extensions/permalinks.md + [27]: extensions/pymdown.md ## Full example @@ -513,8 +498,4 @@ markdown_extensions: - admonition - codehilite(guess_lang=false) - toc(permalink=true) - -# CSS -extra_javascript: - - https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.6.0/clipboard.min.js ```