forked from breakdance/breakdance
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexamples.html
More file actions
698 lines (686 loc) · 71.1 KB
/
Copy pathexamples.html
File metadata and controls
698 lines (686 loc) · 71.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Breakdance is a node.js library for converting HTML to markdown. Highly pluggable, flexible and easy to use. It's time for your markup to get down.">
<meta name="keywords" content="breakdance, convert, format, html, markdown, parse, plain text, re-format, render, text">
<meta name="author" content="Jon Schlinkert (https://github.com/jonschlinkert)">
<title>Examples</title>
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway:400,400i,700|Roboto|Roboto+Mono" rel="stylesheet">
<!-- css -->
<!-- bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<!-- custom -->
<link rel="stylesheet" type="text/css" href="assets/css/styles.css" media="screen">
<link rel="stylesheet" type="text/css" href="assets/css/github-light.css" media="screen">
<!--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ZWN0IHg9IjAiIHk9IjEzIiB3aWR0aD0iMzkiIGhlaWdodD0iMTMiPjwvcmVjdD48L2c+PGcgZmlsbD0iIzIyMiIgb3BhY2l0eT0iMC4xMTUzMzMzMzMzMzMzMzMzNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzMuNTU0LC0yNy41ODI3NTAwMDAwMDAwMDQpIHJvdGF0ZSg0NSwxOC4zODg1LDE4LjM4ODUpIj48cmVjdCB4PSIxMyIgeT0iMCIgd2lkdGg9IjEzIiBoZWlnaHQ9IjM5Ij48L3JlY3Q+PHJlY3QgeD0iMCIgeT0iMTMiIHdpZHRoPSIzOSIgaGVpZ2h0PSIxMyI+PC9yZWN0PjwvZz48L3N2Zz4=");
}
. h1,
. h2,
. h3,
. h4 {
color: #45708a;
}
</style>
</head>
<body>
<!-- site-wide navigation -->
<div class="container">
<nav class="navbar navbar-toggleable-md navbar-light site-navigation">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="index.html">Breakdance</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="nav-link" href="docs.html">Documentation</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="plugins.html">Plugins</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="https://github.com/breakdance/breakdance" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> More </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="nav-link" href="examples.html">Examples</a>
<a class="nav-link" href="recipes.html">Recipes</a>
<a class="nav-link" href="contributing.html">Contributing</a>
<a class="nav-link" href="about.html">About</a>
</div>
</li>
</ul>
<ul class="navbar-nav gh-buttons pull-right">
<li class="nav-item">
<iframe src="http://ghbtns.com/github-btn.html?user=breakdance&repo=breakdance&type=watch&count=true&" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</li>
<li class="nav-item">
<iframe src="http://ghbtns.com/github-btn.html?user=breakdance&repo=breakdance&type=fork&count=true&" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</li>
</ul>
<!--form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form-->
</div>
</nav>
</div>
<!-- page header -->
<div class="masthead masthead-sm">
<div class="container">
<div class="row">
<div class="col-12 col-sm-6">
<h1 class="page-title"> Examples </h1>
</div>
<!--div class="col-12 col-sm-6">
<ul class="nav justify-content-end github-buttons">
<li class="nav-item">
<iframe src="http://ghbtns.com/github-btn.html?user=breakdance&repo=breakdance&type=watch&count=true&" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</li>
<li class="nav-item">
<iframe src="http://ghbtns.com/github-btn.html?user=breakdance&repo=breakdance&type=fork&count=true&" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</li>
</ul>
</div-->
</div>
</div>
</div>
<!-- page content -->
<div class="container">
<div class="row">
<div class="col-12 col-md-3 push-md-9" role="complementary">
<!--ol class="toc js-toc" id="toc"></ol-->
<div class="sidebar hidden-print hidden-xs hidden-sm">
<div id="navigation">
<!-- automatically generated from headings -->
<ul class="nav sidenav">
<li>
<a href="#html-elements">HTML elements</a>
<ul class="nav">
<li>
<a href="#html-elements-ul">ul</a>
</li>
<li>
<a href="#html-elements-ol">ol</a>
</li>
<li>
<a href="#html-elements-a">a</a>
</li>
<li>
<a href="#html-elements-blockquote">blockquote</a>
</li>
<li>
<a href="#html-elements-br">br</a>
</li>
<li>
<a href="#html-elements-hr">hr</a>
</li>
<li>
<a href="#html-elements-code">code</a>
</li>
<li>
<a href="#html-elements-del">del</a>
</li>
<li>
<a href="#html-elements-dl">dl</a>
</li>
<li>
<a href="#html-elements-em">em</a>
</li>
<li>
<a href="#html-elements-headings">headings</a>
</li>
<li>
<a href="#html-elements-img">img</a>
</li>
<li>
<a href="#html-elements-q">q</a>
</li>
<li>
<a href="#html-elements-strong">strong</a>
</li>
<li>
<a href="#html-elements-table">table</a>
</li>
</ul>
</li>
<li>
<a href="#edge-cases">Edge cases</a>
<ul class="nav">
<li>
<a href="#edge-cases-tables">Tables</a>
</li>
<li>
<a href="#edge-cases-headings-1">Headings</a>
</li>
</ul>
</li>
<li>
<a href="#unconverted-html">Unconverted HTML</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-12 col-md-9 pull-md-3">
<div class="main-content">
<h2 id="html-elements">HTML elements
<a href="#html-elements" name="html-elements" class="anchor">
<span class="anchor-target" id="html-elements"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h2>
<p>Examples of how various HTML elements render to markdown.</p>
<p>These examples are not comprehensive. See the
<a href="https://github.com/breakdance/breakdance/blob/master/test">breakdance unit tests</a> for more examples. Requests (or pull requests)
<a href="https://github.com/breakdance/breakdance/issues/new">are welcome</a> to add other examples.</p>
<p>It's also very easy to change the output with
<a href="options.html">options</a> or
<a href="plugions.htlm">plugins</a>, if you don't like the defaults.</p>
<h3 id="html-elements-ul">ul
<a href="#html-elements-ul" name="html-elements-ul" class="anchor">
<span class="anchor-target" id="html-elements-ul"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>The following unordered list:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">ul</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Foo<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Bar<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Baz<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ul</span>></span>
</code></pre>
<p>Converts to:</p> <pre><code><span class="hljs-bullet">* </span>Foo
<span class="hljs-bullet">* </span>Bar
<span class="hljs-bullet">* </span>Baz
</code></pre>
<h3 id="html-elements-ol">ol
<a href="#html-elements-ol" name="html-elements-ol" class="anchor">
<span class="anchor-target" id="html-elements-ol"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>When
<a href="options.html#optionsone">options.one</a> is true, all items in ordered lists are numbered <code>1.</code> when converted to markdown (most markdown renderers will automatically re-number ordered lists, so using <code>1.</code> for every item is a nice way of making
lists easier to maintain).</p>
<p>The following ordered list:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">ol</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Foo<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Bar<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span>Baz<span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ol</span>></span>
</code></pre>
<p>Is rendered to the following when
<a href="options.html#optionsone">options.one</a> is enabled:</p> <pre><code><span class="hljs-bullet">1. </span>Foo
<span class="hljs-bullet">1. </span>Bar
<span class="hljs-bullet">1. </span>Baz
</code></pre>
<p>Otherwise:</p> <pre><code><span class="hljs-bullet">1. </span>Foo
<span class="hljs-bullet">2. </span>Bar
<span class="hljs-bullet">3. </span>Baz
</code></pre>
<h3 id="html-elements-a">a
<a href="#html-elements-a" name="html-elements-a" class="anchor">
<span class="anchor-target" id="html-elements-a"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>The following HTML anchor:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/some-link"</span>></span>Foo<span class="hljs-tag"></<span class="hljs-name">a</span>></span>
</code></pre>
<p>Converts to:</p> <pre><code>[<span class="hljs-string">Foo</span>](<span class="hljs-link">/some-link</span>)
</code></pre>
<h3 id="html-elements-blockquote">blockquote
<a href="#html-elements-blockquote" name="html-elements-blockquote" class="anchor">
<span class="anchor-target" id="html-elements-blockquote"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>The following HTML blockquote:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">blockquote</span>></span> Lorem ipsum. <span class="hljs-tag"></<span class="hljs-name">blockquote</span>></span>
</code></pre>
<p>Converts to:</p> <pre><code><span class="hljs-quote">> Lorem ipsum.</span>
</code></pre>
<p>
<strong>Nested blockquotes</strong>
</p>
<p>The following nested HTML blockquotes:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">blockquote</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"blockquote"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">footer</span>></span>Someone famous in <span class="hljs-tag"><<span class="hljs-name">cite</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Source Title"</span>></span>Source Title<span class="hljs-tag"></<span class="hljs-name">cite</span>></span><span class="hljs-tag"></<span class="hljs-name">footer</span>></span>
<span class="hljs-tag"><<span class="hljs-name">blockquote</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"blockquote"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">p</span>></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<span class="hljs-tag"></<span class="hljs-name">p</span>></span>
<span class="hljs-tag"><<span class="hljs-name">footer</span>></span>Someone famous in <span class="hljs-tag"><<span class="hljs-name">cite</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Source Title"</span>></span>Source Title<span class="hljs-tag"></<span class="hljs-name">cite</span>></span><span class="hljs-tag"></<span class="hljs-name">footer</span>></span>
<span class="hljs-tag"></<span class="hljs-name">blockquote</span>></span>
<span class="hljs-tag"></<span class="hljs-name">blockquote</span>></span>
</code></pre>
<p>Converts to:</p> <pre><code>> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat <span class="hljs-selector-tag">a</span> ante.
Someone famous <span class="hljs-keyword">in</span> <cite>Source Title</cite>
>> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat <span class="hljs-selector-tag">a</span> ante.
Someone famous <span class="hljs-keyword">in</span> <cite>Source Title</cite>
</code></pre>
<h3 id="html-elements-br">br
<a href="#html-elements-br" name="html-elements-br" class="anchor">
<span class="anchor-target" id="html-elements-br"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>Breaks are passed through unchanged. Thus:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">br</span>></span>
</code></pre>
<p>Is rendered to:</p> <pre><code><span class="hljs-section"><br></span>
</code></pre>
<h3 id="html-elements-hr">hr
<a href="#html-elements-hr" name="html-elements-hr" class="anchor">
<span class="anchor-target" id="html-elements-hr"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>A horizontal rule:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">hr</span>></span>
</code></pre>
<p>Is converted to:</p> <pre><code><span class="hljs-bullet">***
</span></code></pre>
<h3 id="html-elements-code">code
<a href="#html-elements-code" name="html-elements-code" class="anchor">
<span class="anchor-target" id="html-elements-code"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>Everything inside <code><code></code> tags is left as-is. The following HTML:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">code</span>></span><span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/some-link"</span>></span>Foo<span class="hljs-tag"></<span class="hljs-name">a</span>></span><span class="hljs-tag"></<span class="hljs-name">code</span>></span>
</code></pre>
<p>Results in:</p> <pre><code>`<span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/some-link"</span>></span>Foo<span class="hljs-tag"></<span class="hljs-name">a</span>></span><span class="hljs-tag"></<span class="hljs-name">code</span>></span>`
</code></pre>
<p>and:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">code</span>></span>1em 40px<span class="hljs-tag"></<span class="hljs-name">code</span>></span>
</code></pre>
<p>Results in:</p> <pre><code>`1em <span class="hljs-number">40</span>px`
</code></pre>
<p>
<strong>Nested backticks</strong>
</p>
<p>When a <code>code</code> tag contains backticks, it will be wrapped with double backticks. The following:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">code</span>></span>foo`a`b`bar<span class="hljs-tag"></<span class="hljs-name">code</span>></span>
</code></pre>
<p>Would convert to:</p> <pre><code>``foo`a`b`bar``
</code></pre>
<h3 id="html-elements-del">del
<a href="#html-elements-del" name="html-elements-del" class="anchor">
<span class="anchor-target" id="html-elements-del"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>HTML deleted text:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">del</span>></span>This line of text is meant to be treated as deleted text.<span class="hljs-tag"></<span class="hljs-name">del</span>></span>
</code></pre>
<p>Renders to the following markdown:</p> <pre><code>~~This line <span class="hljs-keyword">of</span> <span class="hljs-built_in">text</span> <span class="hljs-keyword">is</span> meant <span class="hljs-keyword">to</span> be treated <span class="hljs-keyword">as</span> deleted <span class="hljs-built_in">text</span>.~~
</code></pre>
<h3 id="html-elements-dl">dl
<a href="#html-elements-dl" name="html-elements-dl" class="anchor">
<span class="anchor-target" id="html-elements-dl"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>Definition lists are not converted to markdown. HTML is rendered, but attributes are stripped.</p>
<p>
<strong>Example</strong>
</p>
<p>The following <code><dl></code> (from Bootstrap's docs):</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">dl</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"row"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-3"</span>></span>Description lists<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-9"</span>></span>A description list is perfect for defining terms.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-3"</span>></span>Euismod<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-9"</span>></span>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-9 offset-sm-3"</span>></span>Donec id elit non mi porta gravida at eget metus.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-3"</span>></span>Malesuada porta<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-9"</span>></span>Etiam porta sem malesuada magna mollis euismod.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-3 text-truncate"</span>></span>Truncated term is truncated<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-9"</span>></span>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-3"</span>></span>Nesting<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-9"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dl</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"row"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-4"</span>></span>Nested definition list<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"col-sm-8"</span>></span>Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dl</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dl</span>></span>
</code></pre>
<p>Renders to:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">dl</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Description lists<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>A description list is perfect for defining terms.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Euismod<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Donec id elit non mi porta gravida at eget metus.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Malesuada porta<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Etiam porta sem malesuada magna mollis euismod.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Truncated term is truncated<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Nesting<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dl</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dt</span>></span>Nested definition list<span class="hljs-tag"></<span class="hljs-name">dt</span>></span>
<span class="hljs-tag"><<span class="hljs-name">dd</span>></span>Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dl</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dd</span>></span>
<span class="hljs-tag"></<span class="hljs-name">dl</span>></span>
</code></pre>
<h3 id="html-elements-em">em
<a href="#html-elements-em" name="html-elements-em" class="anchor">
<span class="anchor-target" id="html-elements-em"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>The following HTML <code>em</code>:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">em</span>></span>This is italicized!<span class="hljs-tag"></<span class="hljs-name">em</span>></span>
</code></pre>
<p>Is rendered to the following markdown:</p> <pre><code>_This <span class="hljs-built_in">is</span> italicized!<span class="hljs-symbol">_</span>
</code></pre>
<p>
<strong>Nested tags</strong>
</p>
<p>Nested <code>em</code> tags are "flattened" into a single statement:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">em</span>></span>This <span class="hljs-tag"><<span class="hljs-name">em</span>></span>is<span class="hljs-tag"></<span class="hljs-name">em</span>></span> worth hearing!<span class="hljs-tag"></<span class="hljs-name">em</span>></span>
</code></pre>
<p>Converts to the following markdown:</p> <pre><code>_This <span class="hljs-built_in">is</span> worth hearing!<span class="hljs-symbol">_</span>
</code></pre>
<h3 id="html-elements-headings">headings
<a href="#html-elements-headings" name="html-elements-headings" class="anchor">
<span class="anchor-target" id="html-elements-headings"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>The following HTML headings:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">h1</span>></span>AAA<span class="hljs-tag"></<span class="hljs-name">h1</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h2</span>></span>BBB<span class="hljs-tag"></<span class="hljs-name">h2</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h3</span>></span>CCC<span class="hljs-tag"></<span class="hljs-name">h3</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h4</span>></span>DDD<span class="hljs-tag"></<span class="hljs-name">h4</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h5</span>></span>EEE<span class="hljs-tag"></<span class="hljs-name">h5</span>></span>
<span class="hljs-tag"><<span class="hljs-name">h6</span>></span>FFF<span class="hljs-tag"></<span class="hljs-name">h6</span>></span>
</code></pre>
<p>Convert to the following markdown, respectively:</p> <pre><code># AAA
## BBB
### CCC
#### DDD
##### EEE
###### FFF
</code></pre>
<h3 id="html-elements-img">img
<a href="#html-elements-img" name="html-elements-img" class="anchor">
<span class="anchor-target" id="html-elements-img"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>The following HTML <code>img</code>:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"hammer.gif"</span>/></span>
</code></pre>
<p>Converts to:</p> <pre><code>!<span class="hljs-selector-attr">[]</span>(<span class="hljs-selector-tag">hammer</span><span class="hljs-selector-class">.gif</span>)
</code></pre>
<p>
<strong>alt</strong>
</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"hammer.gif"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"Can't touch this"</span>></span>
</code></pre>
<p>Converts to:</p> <pre><code>
</code></pre>
<p>
<strong>Title</strong>
</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"hammer.gif"</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"Foo bar"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"Can't touch this"</span>></span>
</code></pre>
<p>Converts to:</p> <pre><code>
</code></pre>
<p>
<strong>No src</strong>
</p>
<p>When the <code><img></code> tag has no <code>src</code> attribute (e.g. <code><img alt="foo"/></code>), it will not be rendered.</p>
<h3 id="html-elements-q">q
<a href="#html-elements-q" name="html-elements-q" class="anchor">
<span class="anchor-target" id="html-elements-q"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>HTML inline quotes:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">div</span>></span>This is an <span class="hljs-tag"><<span class="hljs-name">q</span>></span>inline quote<span class="hljs-tag"></<span class="hljs-name">q</span>></span>.<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
</code></pre>
<p>Are passed through unchanged:</p> <pre><code class="language-html">This is an <span class="hljs-tag"><<span class="hljs-name">q</span>></span>inline quote<span class="hljs-tag"></<span class="hljs-name">q</span>></span>.
</code></pre>
<h3 id="html-elements-strong">strong
<a href="#html-elements-strong" name="html-elements-strong" class="anchor">
<span class="anchor-target" id="html-elements-strong"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>HTML <code>strong</code> tags like the following:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">strong</span>></span>This is loud!<span class="hljs-tag"></<span class="hljs-name">strong</span>></span>
</code></pre>
<p>Would convert to the following markdown:</p> <pre><code>**This <span class="hljs-keyword">is</span> loud!**
</code></pre>
<p>
<strong>Nested tags</strong>
</p>
<p>Nested <code>strong</code> tags are "flattened" into a single statement:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">strong</span>></span>This <span class="hljs-tag"><<span class="hljs-name">strong</span>></span>is<span class="hljs-tag"></<span class="hljs-name">strong</span>></span> loud!<span class="hljs-tag"></<span class="hljs-name">strong</span>></span>
</code></pre>
<p>Converts to the following markdown:</p> <pre><code>**This <span class="hljs-keyword">is</span> loud!**
</code></pre>
<h3 id="html-elements-table">table
<a href="#html-elements-table" name="html-elements-table" class="anchor">
<span class="anchor-target" id="html-elements-table"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<p>Most of the other markdown-to-HTML converters struggle with tables. Breakdance has solid support for well-formed tables, and even some sub-optimal tables.</p>
<p>
<strong>Examples</strong>
</p>
<p>The following HTML table:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">table</span>></span>
<span class="hljs-tag"><<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Heading 1<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Heading 2<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Heading 3<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Heading 4<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"></<span class="hljs-name">table</span>></span>
</code></pre>
<p>Would render to the following markdown:</p> <pre><code class="language-html">| Heading 1 | Heading 2 | Heading 3 | Heading 4 |
| --- | --- | --- | --- |
| Table cell | Table cell | Table cell | Table cell |
| Table cell | Table cell | Table cell | Table cell |
</code></pre>
<p>
<strong>captions</strong>
</p>
<p>And an HTML table with a <code><caption></code> and aligned columns, like this:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">table</span>></span>
<span class="hljs-tag"><<span class="hljs-name">caption</span>></span>
This is an example table, and this is its caption to describe the contents.
<span class="hljs-tag"></<span class="hljs-name">caption</span>></span>
<span class="hljs-tag"><<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Table heading<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span> <span class="hljs-attr">align</span>=<span class="hljs-string">"right"</span>></span>Table heading<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span> <span class="hljs-attr">align</span>=<span class="hljs-string">"center"</span>></span>Table heading<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span> <span class="hljs-attr">align</span>=<span class="hljs-string">"left"</span>></span>Table heading<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span>Table cell<span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"></<span class="hljs-name">table</span>></span>
</code></pre>
<p>Renders to the following markdown:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">caption</span>></span>This is an example table, and this is its caption to describe the contents.<span class="hljs-tag"></<span class="hljs-name">caption</span>></span>
| Table heading | Table heading | Table heading | Table heading |
| --- | ---: | :---: | :--- |
| Table cell | Table cell | Table cell | Table cell |
| Table cell | Table cell | Table cell | Table cell |
</code></pre>
<p>Note that nested tables are still output as HTML, since the
<a href="spec.commonmark.org">commonmark</a> specification does not support nested tables).</p>
<h2 id="edge-cases">Edge cases
<a href="#edge-cases" name="edge-cases" class="anchor">
<span class="anchor-target" id="edge-cases"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h2>
<p>There will always be edge cases. I attempted to implement reasonable solutions to a few
<a href="http://breakdance.io/edge-cases.html">edge-cases</a> described in the docs. If you disagree with how they're being handled, or you'd like to suggest other edge cases to be handled, please create
<a href="https://github.com/breakdance/breakdance/issues/new">an issue</a> to discuss.</p>
<p>A number of edge cases are supported. In most cases these should be pretty easy to override with
<a href="options.html">options</a>, or you can completely change the output to be whatever you want using
<a href="plugins.html">plugins</a>.</p>
<p>Please feel free to
<a href="https://github.com/breakdance/breakdance/issues">create an issue</a> if you have questions or need guidance on customizations.</p>
<h3 id="edge-cases-tables">Tables
<a href="#edge-cases-tables" name="edge-cases-tables" class="anchor">
<span class="anchor-target" id="edge-cases-tables"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<h4>Multiple rows in <code>thead</code></h4>
<p>When multiple rows (<code><tr></code>) are in <code><thead></code>, the rows are collapsed to a single <code><tr></code>, and a <code><br></code> is added as a text separater to retain the visual appearance of multiple
lines.</p>
<p>
<strong>Example</strong>
</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">thead</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span><span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Name<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>Name<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span><span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>(first)<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"><<span class="hljs-name">th</span>></span>(last)<span class="hljs-tag"></<span class="hljs-name">th</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">thead</span>></span>
</code></pre>
<p>Renders to:</p> <pre><code>| <span class="hljs-symbol"><br></span> | Name<span class="hljs-symbol"><br></span>(<span class="hljs-keyword">first</span>) | Name<span class="hljs-symbol"><br></span>(<span class="hljs-keyword">last</span>) |
</code></pre>
<h4>Nested tables</h4>
<p>When a table has nested tables within it, the table will be rendered as HTML.</p>
<h3 id="edge-cases-headings-1">Headings
<a href="#edge-cases-headings-1" name="edge-cases-headings-1" class="anchor">
<span class="anchor-target" id="edge-cases-headings-1"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h3>
<h4>List items containing <code><h1-6></code> tags</h4>
<p>When a list item contains a
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements">heading element</a>, the item will be output as bold (in other words, the element's meaning as a list item takes precedence over its meaning as a heading).</p>
<p>
<strong>Example</strong>
</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">ul</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span><span class="hljs-tag"><<span class="hljs-name">h3</span>></span>Item one<span class="hljs-tag"></<span class="hljs-name">h3</span>></span><span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"><<span class="hljs-name">li</span>></span><span class="hljs-tag"><<span class="hljs-name">h3</span>></span>Item two<span class="hljs-tag"></<span class="hljs-name">h3</span>></span><span class="hljs-tag"></<span class="hljs-name">li</span>></span>
<span class="hljs-tag"></<span class="hljs-name">ul</span>></span>
</code></pre>
<p>Results in</p> <pre><code><span class="hljs-bullet">- </span>*<span class="hljs-strong">*Item one*</span>*
<span class="hljs-bullet">- </span>*<span class="hljs-strong">*Item two*</span>*
</code></pre>
<h4>Table cells containing <code><h1-6></code> tags</h4>
<p>When a table cell contains a
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements">heading element</a>, the entire table will be output as HTML with attributes stripped, and not converted to markdown. This is to ensure formatting is retained, since markdown tables do not render headings.</p>
<p>
<strong>Example</strong>
</p>
<p>The following table (from Bootstrap's docs):</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"bd-example bd-example-type"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">table</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"table"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"display-1"</span>></span>Display 1<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"display-2"</span>></span>Display 2<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"display-3"</span>></span>Display 3<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"display-4"</span>></span>Display 4<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"></<span class="hljs-name">table</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
</code></pre>
<p>Renders to:</p> <pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">table</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span>></span>Display 1<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span>></span>Display 2<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span>></span>Display 3<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"><<span class="hljs-name">td</span>></span><span class="hljs-tag"><<span class="hljs-name">h1</span>></span>Display 4<span class="hljs-tag"></<span class="hljs-name">h1</span>></span><span class="hljs-tag"></<span class="hljs-name">td</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tr</span>></span>
<span class="hljs-tag"></<span class="hljs-name">tbody</span>></span>
<span class="hljs-tag"></<span class="hljs-name">table</span>></span>
</code></pre>
<h2 id="unconverted-html">Unconverted HTML
<a href="#unconverted-html" name="unconverted-html" class="anchor">
<span class="anchor-target" id="unconverted-html"></span>
<span class="glyphicon glyphicon-link"></span>
</a>
</h2>
<p>Some HTML tags are retained as-is and are rendered as HTML when converted to markdown. In particular when there is no equivalent in markdown and it seems reasonable that you might want to retain the HTML. For example, <code><button></code> tags are not output since they're not usable in markdown, but <code><address></code> tags are retained since their contents would still render.</p>
<p>When HTML tags are retained, most of the attributes are removed, with the acception of attributes such as <code>src</code> and <code>href</code> on <code>img</code> and <code>a</code> tags.</p>
<p>Please feel free to
<a href="https://github.com/breakdance/breakdance/issues">open an issue</a> and let us know if you find any bugs or you think we should change the defaults.</p>
</div>
</div>
</div>
<div class="row">
<div class="container">
<!-- site-wide footer -->
<footer class="site-footer">
<span class="site-footer-owner">
<a href="https://github.com/breakdance/breakdance">breakdance</a> is maintained by
<a href="https://github.com/jonschlinkert">jonschlinkert</a>.</span>
<span class="site-footer-credits">This site was generated by
<a href="https://assemble.io">Assemble</a>.</span>
</footer>
</div>
</div>
</div>
<!-- scripts -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="assets/js/vendor/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
<script src="assets/js/vendor/scrollspy.js"></script>
<script src="assets/js/vendor/affix.js"></script>
<script src="assets/js/vendor/clipboard.min.js"></script>
<script src="assets/js/application.js"></script>
<!-- github buttons -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script>
(function(i, s, o, g, r, a, m)
{
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function()
{
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-33358518-18', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>