markdown-ui 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/website/index.md CHANGED
@@ -1,42 +1,37 @@
1
- > Inverted Segment Container:
2
- > > Inverted Menu:
3
- > > [Markdown UI](#home "basic")
4
- > > > Inverted Right Menu:
5
- > > > [Docs](#docs "disabled")
6
- > > > [About](#about "disabled")
7
- > > > [Github](#github)
8
- > > > [Install](#install "disabled")
9
-
10
- <!-- -->
11
-
12
- > Left Aligned Container:
1
+ > Container:
2
+ > > Inverted Segment:
3
+ > > > Inverted Menu:
4
+ > > > [Markdown UI](http://jjuliano.github.io/markdown-ui "active basic")
5
+ > > > > Inverted Right Menu:
6
+ > > > > [Docs](docs/toc.html)
7
+ > > > > [About](about.html)
8
+ > > > > [Github](https://github.com/jjuliano/markdown-ui)
9
+ > > > > [Install](#install)
13
10
  >
14
11
  > <!-- -->
15
12
  >
16
13
  > > Inverted Attached Teal Very Padded Segment:
17
14
  > > # Markdown UI
18
15
  > > ### Responsive UI in Markdown
16
+ > > ### Read the [__Button|Documentation__](docs/toc.html)
19
17
  >
20
18
  > <!-- -->
21
19
  >
22
- > > Attached Segment:
23
- > >
24
- > > <!-- -->
25
- > >
20
+ > > Basic Attached Segment:
26
21
  > > > Equal Width Grid:
27
22
  > > > > Column:
28
- > > > > ##Installation
23
+ > > > > ## Installation::install
29
24
  > > > > ```gem install markdown-ui```
30
- > > > > ##Usage
25
+ > > > > ## Usage::usage
31
26
  > > > > ```markdown-ui index.mdui > index.html```
32
- > > > > ##Credits
27
+ > > > > ## Credits::credits
33
28
  > > > > Markdown-UI uses [Semantic-UI http://www.semantic-ui.com](http://www.semantic-ui.com) syntax and framework, and ruby ```redcarpet``` library.
34
29
  > > > > Credit goes to the people behind these wonderful framework and libraries.
35
- > > > > ##Issues/Bugs
30
+ > > > > ## Source
31
+ > > > > This document is written entirely in Markdown-UI. see: [the source files](https://github.com/jjuliano/markdown-ui/tree/master/website)
32
+ > > > > ## Issues/Bugs::issues-bugs
36
33
  > > > > * Ongoing support for Semantic-UI elements/modules/components
37
34
  > > > > * The Colon (:) character will be parsed when used inside a text, needs post-processing to dislay correctly (for URL's)"
38
- > > > > * Code is not DRY, needs refactoring.
39
- > > > > * Implimentation is subject to change
40
35
  > > > > * A separator in between two spaces is required on block elements to separate elements (see Column example)
41
36
  > > >
42
37
  > > > <!-- -->
@@ -54,7 +49,7 @@
54
49
  >
55
50
  > <!-- -->
56
51
  >
57
- > ##Cheat Sheet:Center Aligned
52
+ > ##Cheat Sheet:Center Aligned:cheatsheets
58
53
  > > Equal Width Grid:
59
54
  > > > Column:
60
55
  > > > > Basic Segment:
@@ -166,522 +161,4 @@
166
161
  > > > > > ``` > > Column 2 ``` <br />
167
162
  > > > >
168
163
  > > > > <!-- -->
169
- > > > >
170
- >
171
- > <!-- -->
172
- >
173
- > > Segment:
174
- > > # Buttons:Center Aligned
175
- >
176
- > <!-- -->
177
- >
178
- > > Segment:
179
- > > ### Button
180
- > > "Standard Button"
181
- >
182
- > <!-- -->
183
- >
184
- > > Divided Segment Grid:
185
- > > > HTML Top Attached Segment:
186
- > > > > Top Attached Label:
187
- > > > > Standard Button
188
- > >
189
- > > <!-- -->
190
- > >
191
- > > > Center Aligned Six Wide Column:
192
- > > > ##### Preview
193
- > > > __Button|Follow__
194
- > >
195
- > > <!-- -->
196
- > >
197
- > > > Left Aligned Ten Wide Column:
198
- > > > ##### Markdown Syntax
199
- > > > > Inverted Very Padded Segment:
200
- > > > > ```
201
- > > > > __Button|Follow__
202
- > > > > ```
203
- > >
204
- > > <!-- -->
205
- > >
206
- >
207
- > <!-- -->
208
- >
209
- > > Divided Segment Grid:
210
- > > > HTML Top Attached Segment:
211
- > > > > Top Attached Label:
212
- > > > > Standard Button with Custom Class And ID
213
- > >
214
- > > <!-- -->
215
- > >
216
- > > > Center Aligned Six Wide Column:
217
- > > > ##### Preview
218
- > > > __Optional-Class Button|Follow|Optional-ID__
219
- > >
220
- > > <!-- -->
221
- > >
222
- > > > Left Aligned Ten Wide Column:
223
- > > > ##### Markdown Syntax
224
- > > > > Inverted Very Padded Segment:
225
- > > > > ```__<Optional-Class> Button|Follow|<Optional-ID>__```
226
- > >
227
- > > <!-- -->
228
- > >
229
- >
230
- > <!-- -->
231
- >
232
- > > Divided Segment Grid:
233
- > > > HTML Top Attached Segment:
234
- > > > > Top Attached Label:
235
- > > > > Focusable Button
236
- > >
237
- > > <!-- -->
238
- > >
239
- > > > Center Aligned Six Wide Column:
240
- > > > ##### Preview
241
- > > > __Focusable Button|Follow|Optional-ID__
242
- > >
243
- > > <!-- -->
244
- > >
245
- > > > Left Aligned Ten Wide Column:
246
- > > > ##### Markdown Syntax
247
- > > > > Inverted Very Padded Segment:
248
- > > > > ```
249
- > > > > __Focusable Button|Follow|<Optional-ID>__
250
- > > > > ```
251
- > >
252
- > > <!-- -->
253
- > >
254
- >
255
- > <!-- -->
256
- >
257
- > > Attached Segment:
258
- > > ### Emphasis
259
- > > "A button can be formatted to show different levels of emphasis"
260
- >
261
- > <!-- -->
262
- >
263
- > > Divided Segment Grid:
264
- > > > HTML Top Attached Segment:
265
- > > > > Top Attached Label:
266
- > > > > Emphasis
267
- > >
268
- > > <!-- -->
269
- > >
270
- > > > Center Aligned Six Wide Column:
271
- > > > ##### Preview
272
- > > > __Primary Button|Save__ __Button|Discard__
273
- > > > " "
274
- > > > __Secondary Button|Save__ __Button|Discard__
275
- > >
276
- > > <!-- -->
277
- > >
278
- > > > Left Aligned Ten Wide Column:
279
- > > > ##### Markdown Syntax
280
- > > > > Inverted Very Padded Segment:
281
- > > > > ``` __Primary Button|Save__ __Button|Discard__ ``` <br />
282
- > > > > ``` __Secondary Button|Save__ __Button|Discard__ ```
283
- > >
284
- > > <!-- -->
285
- > >
286
- >
287
- > <!-- -->
288
- >
289
- > > Attached Segment:
290
- > > ### Animated
291
- > > "A button can animate to show hidden content"
292
- >
293
- > <!-- -->
294
- >
295
- > > Divided Segment Grid:
296
- > > > HTML Top Attached Segment:
297
- > > > > Top Attached Label:
298
- > > > > Animated
299
- > >
300
- > > <!-- -->
301
- > >
302
- > > > Center Aligned Six Wide Column:
303
- > > > ##### Preview
304
- > > > __Animated Button|Next;Icon:Right Arrow__
305
- > >
306
- > > <!-- -->
307
- > >
308
- > > > Left Aligned Ten Wide Column:
309
- > > > ##### Markdown Syntax
310
- > > > > Inverted Very Padded Segment:
311
- > > > > ```
312
- > > > > __Animated Button|Next;Icon:Right Arrow__
313
- > > > > ```
314
- > >
315
- > > <!-- -->
316
- > >
317
- >
318
- > <!-- -->
319
- >
320
- > > Divided Segment Grid:
321
- > > > HTML Top Attached Segment:
322
- > > > > Top Attached Label:
323
- > > > > Vertical Animated
324
- > >
325
- > > <!-- -->
326
- > >
327
- > > > Center Aligned Six Wide Column:
328
- > > > ##### Preview
329
- > > > __Vertical Animated Button|Icon:Shop;Shop__
330
- > >
331
- > > <!-- -->
332
- > >
333
- > > > Left Aligned Ten Wide Column:
334
- > > > ##### Markdown Syntax
335
- > > > > Inverted Very Padded Segment:
336
- > > > > ```
337
- > > > > __Vertical Animated Button|Icon:Shop;Shop__
338
- > > > > ```
339
- > >
340
- > > <!-- -->
341
- > >
342
- >
343
- > <!-- -->
344
- >
345
- > > Divided Segment Grid:
346
- > > > HTML Top Attached Segment:
347
- > > > > Top Attached Label:
348
- > > > > Fade Animated
349
- > >
350
- > > <!-- -->
351
- > >
352
- > > > Center Aligned Six Wide Column:
353
- > > > ##### Preview
354
- > > > __Fade Animated Button|Sign-up for a Pro account;$12.99 a month__
355
- > >
356
- > > <!-- -->
357
- > >
358
- > > > Left Aligned Ten Wide Column:
359
- > > > ##### Markdown Syntax
360
- > > > > Inverted Very Padded Segment:
361
- > > > > ```__Fade Animated Button|Sign-up for a Pro account;$12.99 a month__```
362
- > >
363
- > > <!-- -->
364
- > >
365
- >
366
- > <!-- -->
367
- >
368
- > > Attached Segment:
369
- > > ### Icon
370
- > > "A button can have only an icon"
371
- >
372
- > <!-- -->
373
- >
374
- > > Divided Segment Grid:
375
- > > > HTML Top Attached Segment:
376
- > > > > Top Attached Label:
377
- > > > > Icon Button
378
- > >
379
- > > <!-- -->
380
- > >
381
- > > > Center Aligned Six Wide Column:
382
- > > > ##### Preview
383
- > > > __Icon Button|Icon:Cloud__
384
- > >
385
- > > <!-- -->
386
- > >
387
- > > > Left Aligned Ten Wide Column:
388
- > > > ##### Markdown Syntax
389
- > > > > Inverted Very Padded Segment:
390
- > > > > ```
391
- > > > > __Icon Button|Icon:Cloud__
392
- > > > > ```
393
- > >
394
- > > <!-- -->
395
- > >
396
- >
397
- > <!-- -->
398
- >
399
- > > Attached Segment:
400
- > > ### Labeled Icon
401
- > > "A button can have an icon and a label"
402
- >
403
- > <!-- -->
404
- >
405
- > > Divided Segment Grid:
406
- > > > HTML Top Attached Segment:
407
- > > > > Top Attached Label:
408
- > > > > Labeled Icon
409
- > >
410
- > > <!-- -->
411
- > >
412
- > > > Center Aligned Six Wide Column:
413
- > > > ##### Preview
414
- > > > __Labeled Icon Button|Icon:Pause,Pause__
415
- > >
416
- > > <!-- -->
417
- > >
418
- > > > Left Aligned Ten Wide Column:
419
- > > > ##### Markdown Syntax
420
- > > > > Inverted Very Padded Segment:
421
- > > > > ```
422
- > > > > __Labeled Icon Button|Icon:Pause,Pause__
423
- > > > > ```
424
- > >
425
- > > <!-- -->
426
- > >
427
- >
428
- > <!-- -->
429
- >
430
- > > Attached Segment:
431
- > > ### Basic Button
432
- > > "A basic button is less pronounced"
433
- >
434
- > <!-- -->
435
- >
436
- > > Divided Segment Grid:
437
- > > > HTML Top Attached Segment:
438
- > > > > Top Attached Label:
439
- > > > > Basic Button
440
- > >
441
- > > <!-- -->
442
- > >
443
- > > > Center Aligned Six Wide Column:
444
- > > > ##### Preview
445
- > > > __Basic Button|Icon:User,Add Friend__
446
- > >
447
- > > <!-- -->
448
- > >
449
- > > > Left Aligned Ten Wide Column:
450
- > > > ##### Markdown Syntax
451
- > > > > Inverted Very Padded Segment:
452
- > > > > ```
453
- > > > > __Basic Button|Icon:User,Add Friend__
454
- > > > > ```
455
- > >
456
- > > <!-- -->
457
- > >
458
- >
459
- > <!-- -->
460
- >
461
- > > Divided Segment Grid:
462
- > > > HTML Top Attached Segment:
463
- > > > > Top Attached Label:
464
- > > > > Basic Button
465
- > >
466
- > > <!-- -->
467
- > >
468
- > > > Center Aligned Six Wide Column:
469
- > > > ##### Preview
470
- > > > __Basic Standard Button|Standard__
471
- > > > __Basic Black Button|Black__
472
- > > > __Basic Yellow Button|Yellow__
473
- > > > __Basic Green Button|Green__
474
- > > > __Basic Blue Button|Blue__
475
- > > > __Basic Orange Button|Orange__
476
- > > > __Basic Purple Button|Purple__
477
- > > > __Basic Pink Button|Pink__
478
- > > > __Basic Red Button|Red__
479
- > > > __Basic Teal Button|Teal__
480
- > >
481
- > > <!-- -->
482
- > >
483
- > > > Left Aligned Ten Wide Column:
484
- > > > ##### Markdown Syntax
485
- > > > > Inverted Very Padded Segment:
486
- > > > > ``` __Basic Standard Button|Standard__``` <br />
487
- > > > > ``` __Basic Black Button|Black__``` <br />
488
- > > > > ``` __Basic Yellow Button|Yellow__``` <br />
489
- > > > > ``` __Basic Green Button|Green__``` <br />
490
- > > > > ``` __Basic Blue Button|Blue__``` <br />
491
- > > > > ``` __Basic Orange Button|Orange__``` <br />
492
- > > > > ``` __Basic Purple Button|Purple__``` <br />
493
- > > > > ``` __Basic Pink Button|Pink__``` <br />
494
- > > > > ``` __Basic Red Button|Red__``` <br />
495
- > > > > ``` __Basic Teal Button|Teal__```
496
- > >
497
- > > <!-- -->
498
- > >
499
- >
500
- > <!-- -->
501
- >
502
- > > Attached Segment:
503
- > > ### Inverted
504
- > > "A button can be formatted to appear on dark backgrounds"
505
- >
506
- > <!-- -->
507
- >
508
- > > Divided Segment Grid:
509
- > > > HTML Top Attached Segment:
510
- > > > > Top Attached Label:
511
- > > > > Inverted
512
- > >
513
- > > <!-- -->
514
- > >
515
- > > > Center Aligned Six Wide Column:
516
- > > > ##### Preview
517
- > > > > Inverted Very Padded Segment:
518
- > > > __Inverted Standard Button|Standard__
519
- > > > __Inverted Black Button|Black__
520
- > > > __Inverted Yellow Button|Yellow__
521
- > > > __Inverted Green Button|Green__
522
- > > > __Inverted Blue Button|Blue__
523
- > > > __Inverted Orange Button|Orange__
524
- > > > __Inverted Purple Button|Purple__
525
- > > > __Inverted Pink Button|Pink__
526
- > > > __Inverted Red Button|Red__
527
- > > > __Inverted Teal Button|Teal__
528
- > >
529
- > > <!-- -->
530
- > >
531
- > > > Left Aligned Ten Wide Column:
532
- > > > ##### Markdown Syntax
533
- > > > > Inverted Very Padded Segment:
534
- > > > > ```> Inverted Segment:``` <br />
535
- > > > > ```> __Inverted Standard Button|Standard__``` <br />
536
- > > > > ```> __Inverted Black Button|Black__``` <br />
537
- > > > > ```> __Inverted Yellow Button|Yellow__``` <br />
538
- > > > > ```> __Inverted Green Button|Green__``` <br />
539
- > > > > ```> __Inverted Blue Button|Blue__``` <br />
540
- > > > > ```> __Inverted Orange Button|Orange__``` <br />
541
- > > > > ```> __Inverted Purple Button|Purple__``` <br />
542
- > > > > ```> __Inverted Pink Button|Pink__``` <br />
543
- > > > > ```> __Inverted Red Button|Red__``` <br />
544
- > > > > ```> __Inverted Teal Button|Teal__```
545
- > >
546
- > > <!-- -->
547
- > >
548
- >
549
- > <!-- -->
550
- >
551
- > > Attached Segment:
552
- > > ### Groups
553
- > > "Buttons can exist together as a group"
554
- >
555
- > <!-- -->
556
- >
557
- > > Divided Segment Grid:
558
- > > > HTML Top Attached Segment:
559
- > > > > Top Attached Label:
560
- > > > > Buttons
561
- > >
562
- > > <!-- -->
563
- > >
564
- > > > Center Aligned Six Wide Column:
565
- > > > ##### Preview
566
- > > > > Buttons:
567
- > > > > __Button|One|Standard__
568
- > > > > __Button|Two|Standard__
569
- > > > > __Button|Three|Standard__
570
- > >
571
- > > <!-- -->
572
- > >
573
- > > > Left Aligned Ten Wide Column:
574
- > > > ##### Markdown Syntax
575
- > > > > Inverted Very Padded Segment:
576
- > > > > ```> Buttons:``` <br />
577
- > > > > ```> __Standard Button|One__``` <br />
578
- > > > > ```> __Standard Button|Two__``` <br />
579
- > > > > ```> __Standard Button|Three__```
580
- > >
581
- > > <!-- -->
582
- > >
583
- >
584
- > <!-- -->
585
- >
586
- > > Attached Segment:
587
- > > ### Icon Buttons
588
- > > "Buttons can exist together as a group"
589
- >
590
- > <!-- -->
591
- >
592
- > > Divided Segment Grid:
593
- > > > HTML Top Attached Segment:
594
- > > > > Top Attached Label:
595
- > > > > Buttons
596
- > >
597
- > > <!-- -->
598
- > >
599
- > > > Center Aligned Six Wide Column:
600
- > > > ##### Preview
601
- > > > > Icon Buttons:
602
- > > > > __Button|Icon: Align Left__
603
- > > > > __Button|Icon: Align Center__
604
- > > > > __Button|Icon: Align Right__
605
- > > > > __Button|Icon: Align Justify__
606
- > > >
607
- > > > <!-- -->
608
- > > >
609
- > > > > Icon Buttons:
610
- > > > > __Button|Icon: Bold__
611
- > > > > __Button|Icon: Underline__
612
- > > > > __Button|Icon: Text Width__
613
- > >
614
- > > <!-- -->
615
- > >
616
- > > > Left Aligned Ten Wide Column:
617
- > > > ##### Markdown Syntax
618
- > > > > Inverted Very Padded Segment:
619
- > > > > ```> Icon Buttons:``` <br />
620
- > > > > ```> __Button|Icon:Align Left__``` <br />
621
- > > > > ```> __Button|Icon:Align Center__``` <br />
622
- > > > > ```> __Button|Icon:Align Right__``` <br />
623
- > > > > ```> __Button|Icon:Align Justify__``` <br />
624
- > > > <br />
625
- > > > ``` <!-- A separator is required in between two spaces -->``` <br />
626
- > > > <br />
627
- > > > > ```> Icon Buttons:``` <br />
628
- > > > > ```> __Button|Icon:Bold__``` <br />
629
- > > > > ```> __Button|Icon:Underline__``` <br />
630
- > > > > ```> __Button|Icon:Text Width__```
631
- > >
632
- > > <!-- -->
633
- > >
634
- >
635
- > <!-- -->
636
- >
637
- > > Attached Segment:
638
- > > ### Conditionals
639
- > > "Button groups can contain conditionals"
640
- >
641
- > <!-- -->
642
- >
643
- > > Divided Segment Grid:
644
- > > > HTML Top Attached Segment:
645
- > > > > Top Attached Label:
646
- > > > > Conditionals
647
- > >
648
- > > <!-- -->
649
- > >
650
- > > > Center Aligned Six Wide Column:
651
- > > > ##### Preview
652
- > > > > Buttons:
653
- > > > > __Button|Cancel__
654
- > > > > __Div Tag||Or__
655
- > > > > __Positive Button|Save__
656
- > >
657
- > > <!-- -->
658
- > >
659
- > > > Left Aligned Ten Wide Column:
660
- > > > ##### Markdown Syntax
661
- > > > > Inverted Very Padded Segment:
662
- > > > > ```> Buttons:``` <br />
663
- > > > > ```> __Button|Cancel__``` <br />
664
- > > > > ```> __Div Tag||Or__``` <br />
665
- > > > > ```> __Positive Button|Save__```
666
- > >
667
- > > <!-- -->
668
- > >
669
- > > > Center Aligned Six Wide Column:
670
- > > > ##### Preview
671
- > > > > Buttons:
672
- > > > > __Button|un__
673
- > > > > __Div Tag||Or|Data:Text:ou__
674
- > > > > __Positive Button|deux|Optional-ID__
675
- > >
676
- > > <!-- -->
677
- > >
678
- > > > Left Aligned Ten Wide Column:
679
- > > > ##### Markdown Syntax
680
- > > > > Inverted Very Padded Segment:
681
- > > > > ```> Buttons:``` <br />
682
- > > > > ```> __Button|un__``` <br />
683
- > > > > ```> __Div Tag||Or|Data:Text:ou__``` <br />
684
- > > > > ```> __Positive Button|deux|<Optional-ID>__```
685
- > >
686
- > > <!-- -->
687
- > >
164
+ > > > >
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Bryan Juliano
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-07 00:00:00.000000000 Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -137,6 +137,7 @@ files:
137
137
  - LICENSE.txt
138
138
  - README.md
139
139
  - Rakefile
140
+ - TODO.md
140
141
  - bin/console
141
142
  - bin/setup
142
143
  - components/collections/markdown-ui-grid/Gemfile
@@ -232,7 +233,9 @@ files:
232
233
  - lib/markdown-ui.rb
233
234
  - lib/markdown-ui/collection.rb
234
235
  - lib/markdown-ui/element.rb
236
+ - lib/markdown-ui/tag/button_tag.rb
235
237
  - lib/markdown-ui/tag/custom_tag.rb
238
+ - lib/markdown-ui/tag/focusable_button_tag.rb
236
239
  - lib/markdown-ui/tag/item_tag.rb
237
240
  - lib/markdown-ui/tag/list_tag.rb
238
241
  - lib/markdown-ui/tag/span_tag.rb
@@ -241,9 +244,13 @@ files:
241
244
  - lib/markdown-ui/utils/klass_util.rb
242
245
  - lib/markdown-ui/version.rb
243
246
  - markdown-ui.gemspec
244
- - website/button.html
245
- - website/button.md
247
+ - website/about.html
248
+ - website/about.md
246
249
  - website/compile.sh
250
+ - website/docs/button.html
251
+ - website/docs/button.md
252
+ - website/docs/toc.html
253
+ - website/docs/toc.md
247
254
  - website/index.html
248
255
  - website/index.md
249
256
  homepage: https://github.com/jjuliano/markdown-ui