mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 15:54:50 +00:00
Merge pull request #450 from xcazin/modifications
Added blank lines to switch to block rendering in RevealWidget examples
This commit is contained in:
commit
bed6cc7d67
@ -38,8 +38,10 @@ Here's a simple example of showing and hiding content with buttons:
|
|||||||
<$button set="$:/SampleRevealState" setTo="hide">Hide me</$button>
|
<$button set="$:/SampleRevealState" setTo="hide">Hide me</$button>
|
||||||
|
|
||||||
<$reveal type="match" state="$:/SampleRevealState" text="show">
|
<$reveal type="match" state="$:/SampleRevealState" text="show">
|
||||||
|
|
||||||
! This is the revealed content
|
! This is the revealed content
|
||||||
And this is some text
|
And this is some text
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -49,8 +51,10 @@ It renders as:
|
|||||||
<$button set="$:/SampleRevealState" setTo="hide">Hide me</$button>
|
<$button set="$:/SampleRevealState" setTo="hide">Hide me</$button>
|
||||||
|
|
||||||
<$reveal type="match" state="$:/SampleRevealState" text="show">
|
<$reveal type="match" state="$:/SampleRevealState" text="show">
|
||||||
|
|
||||||
! This is the revealed content
|
! This is the revealed content
|
||||||
And this is some text
|
And this is some text
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|
||||||
!! Popup
|
!! Popup
|
||||||
@ -62,8 +66,10 @@ Here is a simple example of a popup built with the RevealWidget:
|
|||||||
|
|
||||||
<$reveal type="popup" state="$:/SamplePopupState">
|
<$reveal type="popup" state="$:/SamplePopupState">
|
||||||
<div class="tw-drop-down">
|
<div class="tw-drop-down">
|
||||||
|
|
||||||
! This is the popup
|
! This is the popup
|
||||||
And this is some text
|
And this is some text
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
```
|
```
|
||||||
@ -74,7 +80,9 @@ It renders as:
|
|||||||
|
|
||||||
<$reveal type="popup" state="$:/SamplePopupState">
|
<$reveal type="popup" state="$:/SamplePopupState">
|
||||||
<div class="tw-drop-down">
|
<div class="tw-drop-down">
|
||||||
|
|
||||||
! This is the popup
|
! This is the popup
|
||||||
And this is some text
|
And this is some text
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
Loading…
Reference in New Issue
Block a user