File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 31
31
```
32
32
33
33
``` html
34
- <details id =" foo" class =" bar" >
35
- <summary >Greetings</summary >
36
- Hello World!
37
- </details >
34
+ <details id =" foo" class =" bar" >
35
+ <summary >Greetings</summary >
36
+ Hello World!
37
+ </details >
38
38
```
39
39
40
40
## Example 2
41
41
42
42
``` ruby
43
43
details id: ' foo' , class : ' bar' do
44
44
summary id: ' baz' , text: ' Greetings'
45
- pg text: ' Hello World!'
45
+ paragraph text: ' Hello World!'
46
46
end
47
47
```
48
48
49
49
``` html
50
- <details id =" foo" class =" bar" >
51
- <summary id =" baz" >Greetings</summary >
52
- <p >Hello World!</p >
53
- </details >
50
+ <details id =" foo" class =" bar" >
51
+ <summary id =" baz" >Greetings</summary >
52
+ <p >Hello World!</p >
53
+ </details >
54
54
```
55
55
56
56
## Example 3 (Without Summary)
57
57
58
58
``` ruby
59
- details id: ' foo' do
60
- plan " Hello World!"
61
- end
59
+ details id: ' foo' do
60
+ plain " Hello World!"
61
+ end
62
62
```
63
63
64
64
``` html
65
- <details id =" foo" >
66
- Hello World!
67
- </details >
65
+ <details id =" foo" >
66
+ Hello World!
67
+ </details >
68
68
```
You can’t perform that action at this time.
0 commit comments