Forked from pierrejoubert73/markdown-details-collapsible.md
Last active
November 15, 2019 03:15
-
-
Save ZhipingYang/c1a9c0835aa0c1630487bf6fa134078b to your computer and use it in GitHub Desktop.
Revisions
-
ZhipingYang revised this gist
Nov 15, 2019 . 1 changed file with 0 additions and 40 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,40 +0,0 @@ -
ZhipingYang revised this gist
Nov 15, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # Picture layout in markdown <p align="center"> <img width=150 src="https://user-images.githubusercontent.com/9360037/62184933-ecbe4380-b392-11e9-82dd-802b6b2e8b82.png"> </p> -
ZhipingYang revised this gist
Nov 15, 2019 . 1 changed file with 20 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # A collapsible section with markdown <details> <summary>Click to expand!</summary> @@ -36,4 +37,22 @@ ``` **NB:** Make sure you have an **empty line** after the closing `</summary>` tag. **NB**: Make sure you have an **empty line** after the closing `</details>` tag if you have multiple collapsible sections. # Make collapsible section default opened > **Note:** <br> > all the UIKit's accessibilityIdentifier is a preperty of the protocol `UIAccessibilityIdentification` and all enum's rawValue is default to follow `RawRepresentable` ><blockquote> <details open><summary> Expand for steps details </summary> <br> - 1.1 Define the enums - set rawValue in String - append PrettyRawRepresentable if need - 1.2 set UIKit's accessibilityIdentifier by enums's rawValue - method1: infix operator - method2: UIAccessibilityIdentification's extension - 1.3 Apply in UITest target </details></blockquote> -
ZhipingYang revised this gist
Nov 15, 2019 . No changes.There are no files selected for viewing
-
ZhipingYang revised this gist
Nov 15, 2019 . 1 changed file with 38 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ <p align="center"> <img width=150 src="https://user-images.githubusercontent.com/9360037/62184933-ecbe4380-b392-11e9-82dd-802b6b2e8b82.png"> </p> <br> <p align="center"> <a href="https://zhipingyang.github.io/Einstein"> <img alt="Documentation" src="http://img.shields.io/badge/read_the-docs-2196f3.svg"> </a> <a href="http://cocoapods.org/pods/Einstein"> <image alt="Version" src="https://img.shields.io/cocoapods/v/Einstein.svg?style=flat"> </a> <image alt="CI Status" src="https://img.shields.io/badge/Swift-5.0-orange.svg"> <a href="http://cocoapods.org/pods/Einstein"> <image alt="License" src="https://img.shields.io/cocoapods/l/Einstein.svg?style=flat"> </a> <a href="http://cocoapods.org/pods/Einstein"> <image alt="Platform" src="https://img.shields.io/cocoapods/p/Einstein.svg?style=flat"> </a> <a href="https://travis-ci.org/ZhipingYang/Einstein"> <image alt="CI Status" src="http://img.shields.io/travis/ZhipingYang/Einstein.svg?style=flat"> </a> </p> | **LineChart** | **BarChart** | |:-------:|:---------:| |  |  | | single datas in linechart | single datas in linechart | |  |  | | **LineDotsClicked:** show all if the dots closed in multi-datas | **BarClicked:** custom click effects in multi-datas | |  |  | | scrolling linechart (did set row width) | scrolling barchart (did set row width) | <p align="center"> <img width=33% src="https://user-images.githubusercontent.com/9360037/34407789-45fd3d5e-ebfb-11e7-91ca-71eefd1fc97c.png"> <img width=33% src="https://user-images.githubusercontent.com/9360037/34407792-46d402ee-ebfb-11e7-8776-5e11c6564cbe.png"> <img width=33% src="https://user-images.githubusercontent.com/9360037/34407800-480a2ee0-ebfb-11e7-9ccf-7e945ca5d88d.png"> </p> -
pierrejoubert73 revised this gist
Oct 11, 2018 . 1 changed file with 38 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,39 @@ # A collapsible section with markdown <details> <summary>Click to expand!</summary> ## Heading 1. A numbered 2. list * With some * Sub bullets </details> # A collapsible section with code <details> <summary>Click to expand!</summary> ```javascript function whatIsLove() { console.log('Baby Don't hurt me. Don't hurt me'); return 'No more'; } ``` </details> # How to structure the markup ``` # A collapsible section with markdown <details> <summary>Click to expand!</summary> ## Heading 1. A numbered 2. list * With some * Sub bullets </details> ``` **NB:** Make sure you have an **empty line** after the closing `</summary>` tag. **NB**: Make sure you have an **empty line** after the closing `</details>` tag if you have multiple collapsible sections. -
pierrejoubert73 created this gist
Jun 30, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ Your markdown heading here <details> <summary> Show details </summary> Your markdown content here </details>