Sfoglia il codice sorgente

Fixing sample markdown in playground

main
Rocketsoup 1 anno fa
parent
commit
43e4266c71
1 ha cambiato i file con 51 aggiunte e 51 eliminazioni
  1. 51
    51
      markdownjs.html

+ 51
- 51
markdownjs.html Vedi File

@@ -372,82 +372,82 @@
372 372
 			</div>
373 373
 			<textarea id="markdowninput">## Block Formats {#top}
374 374
 
375
-				A regular paragraph.
375
+A regular paragraph.
376 376
 
377
-				-# Sub text
377
+-# Sub text
378 378
 
379
-				* Unordered
380
-				* Lists
381
-				  * Sub list
379
+* Unordered
380
+* Lists
381
+* Sub list
382 382
 
383
-				1. Ordered
384
-				2. Lists
385
-				  6. Sub list
383
+1. Ordered
384
+2. Lists
385
+6. Sub list
386 386
 
387
-				A blockquote:
387
+A blockquote:
388 388
 
389
-				&gt; "The only thing we have to fear is fear itself—nameless, unreasoning, unjustified terror which paralyzes needed efforts to convert retreat into advance." - Franklin D. Roosevelt's First Inaugural Address
389
+&gt; "The only thing we have to fear is fear itself—nameless, unreasoning, unjustified terror which paralyzes needed efforts to convert retreat into advance." - Franklin D. Roosevelt's First Inaugural Address
390 390
 
391
-				Some definitions:
391
+Some definitions:
392 392
 
393
-				word
394
-				: a unit of meaning in a sentence
395
-				sentence
396
-				: a collection of words
393
+word
394
+: a unit of meaning in a sentence
395
+sentence
396
+: a collection of words
397 397
 
398
-				Code:
398
+Code:
399 399
 
400
-				```javascript
401
-				function foo() {
402
-					return 'Hello world';
403
-				}
404
-				```
400
+```javascript
401
+function foo() {
402
+    return 'Hello world';
403
+}
404
+```
405 405
 
406
-					function bar() {
407
-						return 'Indented code';
408
-					}
406
+    function bar() {
407
+        return 'Indented code';
408
+    }
409 409
 
410
-				### Heading, hash style
410
+### Heading, hash style
411 411
 
412
-				Heading, underline style
413
-				---
412
+Heading, underline style
413
+---
414 414
 
415
-				### Modified Heading {style=color:red;}
415
+### Modified Heading {style=color:red;}
416 416
 
417
-				| Unit Price | Qty | Subtotal |
418
-				| ---: | ---: | ---: |
419
-				| $1.23 | 2 | =A*B FILL |
420
-				| $4.99 | 6 | |
421
-				| Total | | =SUM(C:C) |
417
+| Unit Price | Qty | Subtotal |
418
+| ---: | ---: | ---: |
419
+| $1.23 | 2 | =A*B FILL |
420
+| $4.99 | 6 | |
421
+| Total | | =SUM(C:C) |
422 422
 
423
-				---
423
+---
424 424
 
425
-				## Inline Formats
425
+## Inline Formats
426 426
 
427
-				Normal, **double asterisk,** __double underscore,__ *asterisks,* _underscores,_ ~~double tildes,~~ ~single tildes,~ ^carets,^ ==double equals==, ``double backticks``, `single backticks`.
427
+Normal, **double asterisk,** __double underscore,__ *asterisks,* _underscores,_ ~~double tildes,~~ ~single tildes,~ ^carets,^ ==double equals==, ``double backticks``, `single backticks`.
428 428
 
429
-				Lorem ipsum dolor sit amet,[^1] consectetur adipiscing elit.[^abc] Sed sodales in odio eget porta. Proin et erat sit amet erat semper mollis vitae ut turpis.[^foo] Ut ipsum dui, maximus sit amet suscipit at, dictum id nulla.[^bar] Aenean efficitur rhoncus nulla non fermentum.
429
+Lorem ipsum dolor sit amet,[^1] consectetur adipiscing elit.[^abc] Sed sodales in odio eget porta. Proin et erat sit amet erat semper mollis vitae ut turpis.[^foo] Ut ipsum dui, maximus sit amet suscipit at, dictum id nulla.[^bar] Aenean efficitur rhoncus nulla non fermentum.
430 430
 
431
-				[^1]: Donec ut felis volutpat, gravida ipsum scelerisque, accumsan est.
432
-				[^abc]: Cras dictum rutrum quam.
433
-				[^foo]: Donec maximus bibendum lorem.
434
-				[^bar]: Praesent consectetur tristique leo. Morbi nec nisi sit amet quam imperdiet vehicula eu feugiat tortor. 
431
+[^1]: Donec ut felis volutpat, gravida ipsum scelerisque, accumsan est.
432
+[^abc]: Cras dictum rutrum quam.
433
+[^foo]: Donec maximus bibendum lorem.
434
+[^bar]: Praesent consectetur tristique leo. Morbi nec nisi sit amet quam imperdiet vehicula eu feugiat tortor. 
435 435
 
436
-				The HTML on the WWW is often full of JS and CSS.
436
+The HTML on the WWW is often full of JS and CSS.
437 437
 
438
-				*[HTML]: Hypertext Markup Language
439
-				*[WWW]: World Wide Web
440
-				*[JS]: JavaScript
441
-				*[CSS]: Cascading Style Sheets
438
+*[HTML]: Hypertext Markup Language
439
+*[WWW]: World Wide Web
440
+*[JS]: JavaScript
441
+*[CSS]: Cascading Style Sheets
442 442
 
443
-				Click [here](#top) to return to the top. Referenced link to [Google][google title="I prefer Duck Duck Go"].
443
+Click [here](#top) to return to the top. Referenced link to [Google][google title="I prefer Duck Duck Go"].
444 444
 
445
-				![alt text](https://picsum.photos/100/75) ![alt text](https://picsum.photos/101/75 "With a title") ![][testimage]
445
+![alt text](https://picsum.photos/100/75) ![alt text](https://picsum.photos/101/75 "With a title") ![][testimage]
446 446
 
447
-				[testimage]: https://picsum.photos/102/75
448
-				[google]: https://google.com
447
+[testimage]: https://picsum.photos/102/75
448
+[google]: https://google.com
449 449
 
450
-				Some verbatim &lt;span style="color:green;"&gt;HTML&lt;/span&gt;. A script tag will be ignored. &lt;script&gt;&lt;/script&gt;
450
+Some verbatim &lt;span style="color:green;"&gt;HTML&lt;/span&gt;. A script tag will be ignored. &lt;script&gt;&lt;/script&gt;
451 451
 			</textarea>
452 452
 		</div>
453 453
 		<div class="previewhalf half">

Loading…
Annulla
Salva