├── .editorconfig ├── .gitattributes ├── .github └── security.md ├── .gitignore ├── .npmrc ├── github-markdown-dark.css ├── github-markdown-light.css ├── github-markdown.css ├── index.html ├── license ├── package.json └── readme.md /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | end_of_line = lf 6 | charset = utf-8 7 | trim_trailing_whitespace = true 8 | insert_final_newline = true 9 | 10 | [*.yml] 11 | indent_style = space 12 | indent_size = 2 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/security.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure. 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | yarn.lock 3 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /github-markdown-dark.css: -------------------------------------------------------------------------------- 1 | /* dark */ 2 | .markdown-body { 3 | color-scheme: dark; 4 | -ms-text-size-adjust: 100%; 5 | -webkit-text-size-adjust: 100%; 6 | margin: 0; 7 | color: #f0f6fc; 8 | background-color: #0d1117; 9 | font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; 10 | font-size: 16px; 11 | line-height: 1.5; 12 | word-wrap: break-word; 13 | } 14 | 15 | .markdown-body .octicon { 16 | display: inline-block; 17 | fill: currentColor; 18 | vertical-align: text-bottom; 19 | } 20 | 21 | .markdown-body h1:hover .anchor .octicon-link:before, 22 | .markdown-body h2:hover .anchor .octicon-link:before, 23 | .markdown-body h3:hover .anchor .octicon-link:before, 24 | .markdown-body h4:hover .anchor .octicon-link:before, 25 | .markdown-body h5:hover .anchor .octicon-link:before, 26 | .markdown-body h6:hover .anchor .octicon-link:before { 27 | width: 16px; 28 | height: 16px; 29 | content: ' '; 30 | display: inline-block; 31 | background-color: currentColor; 32 | -webkit-mask-image: url("data:image/svg+xml,"); 33 | mask-image: url("data:image/svg+xml,"); 34 | } 35 | 36 | .markdown-body details, 37 | .markdown-body figcaption, 38 | .markdown-body figure { 39 | display: block; 40 | } 41 | 42 | .markdown-body summary { 43 | display: list-item; 44 | } 45 | 46 | .markdown-body [hidden] { 47 | display: none !important; 48 | } 49 | 50 | .markdown-body a { 51 | background-color: transparent; 52 | color: #4493f8; 53 | text-decoration: none; 54 | } 55 | 56 | .markdown-body abbr[title] { 57 | border-bottom: none; 58 | -webkit-text-decoration: underline dotted; 59 | text-decoration: underline dotted; 60 | } 61 | 62 | .markdown-body b, 63 | .markdown-body strong { 64 | font-weight: 600; 65 | } 66 | 67 | .markdown-body dfn { 68 | font-style: italic; 69 | } 70 | 71 | .markdown-body h1 { 72 | margin: .67em 0; 73 | font-weight: 600; 74 | padding-bottom: .3em; 75 | font-size: 2em; 76 | border-bottom: 1px solid #3d444db3; 77 | } 78 | 79 | .markdown-body mark { 80 | background-color: #bb800926; 81 | color: #f0f6fc; 82 | } 83 | 84 | .markdown-body small { 85 | font-size: 90%; 86 | } 87 | 88 | .markdown-body sub, 89 | .markdown-body sup { 90 | font-size: 75%; 91 | line-height: 0; 92 | position: relative; 93 | vertical-align: baseline; 94 | } 95 | 96 | .markdown-body sub { 97 | bottom: -0.25em; 98 | } 99 | 100 | .markdown-body sup { 101 | top: -0.5em; 102 | } 103 | 104 | .markdown-body img { 105 | border-style: none; 106 | max-width: 100%; 107 | box-sizing: content-box; 108 | } 109 | 110 | .markdown-body code, 111 | .markdown-body kbd, 112 | .markdown-body pre, 113 | .markdown-body samp { 114 | font-family: monospace; 115 | font-size: 1em; 116 | } 117 | 118 | .markdown-body figure { 119 | margin: 1em 2.5rem; 120 | } 121 | 122 | .markdown-body hr { 123 | box-sizing: content-box; 124 | overflow: hidden; 125 | background: transparent; 126 | border-bottom: 1px solid #3d444db3; 127 | height: .25em; 128 | padding: 0; 129 | margin: 1.5rem 0; 130 | background-color: #3d444d; 131 | border: 0; 132 | } 133 | 134 | .markdown-body input { 135 | font: inherit; 136 | margin: 0; 137 | overflow: visible; 138 | font-family: inherit; 139 | font-size: inherit; 140 | line-height: inherit; 141 | } 142 | 143 | .markdown-body [type=button], 144 | .markdown-body [type=reset], 145 | .markdown-body [type=submit] { 146 | -webkit-appearance: button; 147 | appearance: button; 148 | } 149 | 150 | .markdown-body [type=checkbox], 151 | .markdown-body [type=radio] { 152 | box-sizing: border-box; 153 | padding: 0; 154 | } 155 | 156 | .markdown-body [type=number]::-webkit-inner-spin-button, 157 | .markdown-body [type=number]::-webkit-outer-spin-button { 158 | height: auto; 159 | } 160 | 161 | .markdown-body [type=search]::-webkit-search-cancel-button, 162 | .markdown-body [type=search]::-webkit-search-decoration { 163 | -webkit-appearance: none; 164 | appearance: none; 165 | } 166 | 167 | .markdown-body ::-webkit-input-placeholder { 168 | color: inherit; 169 | opacity: .54; 170 | } 171 | 172 | .markdown-body ::-webkit-file-upload-button { 173 | -webkit-appearance: button; 174 | appearance: button; 175 | font: inherit; 176 | } 177 | 178 | .markdown-body a:hover { 179 | text-decoration: underline; 180 | } 181 | 182 | .markdown-body ::placeholder { 183 | color: #9198a1; 184 | opacity: 1; 185 | } 186 | 187 | .markdown-body hr::before { 188 | display: table; 189 | content: ""; 190 | } 191 | 192 | .markdown-body hr::after { 193 | display: table; 194 | clear: both; 195 | content: ""; 196 | } 197 | 198 | .markdown-body table { 199 | border-spacing: 0; 200 | border-collapse: collapse; 201 | display: block; 202 | width: max-content; 203 | max-width: 100%; 204 | overflow: auto; 205 | font-variant: tabular-nums; 206 | } 207 | 208 | .markdown-body td, 209 | .markdown-body th { 210 | padding: 0; 211 | } 212 | 213 | .markdown-body details summary { 214 | cursor: pointer; 215 | } 216 | 217 | .markdown-body a:focus, 218 | .markdown-body [role=button]:focus, 219 | .markdown-body input[type=radio]:focus, 220 | .markdown-body input[type=checkbox]:focus { 221 | outline: 2px solid #1f6feb; 222 | outline-offset: -2px; 223 | box-shadow: none; 224 | } 225 | 226 | .markdown-body a:focus:not(:focus-visible), 227 | .markdown-body [role=button]:focus:not(:focus-visible), 228 | .markdown-body input[type=radio]:focus:not(:focus-visible), 229 | .markdown-body input[type=checkbox]:focus:not(:focus-visible) { 230 | outline: solid 1px transparent; 231 | } 232 | 233 | .markdown-body a:focus-visible, 234 | .markdown-body [role=button]:focus-visible, 235 | .markdown-body input[type=radio]:focus-visible, 236 | .markdown-body input[type=checkbox]:focus-visible { 237 | outline: 2px solid #1f6feb; 238 | outline-offset: -2px; 239 | box-shadow: none; 240 | } 241 | 242 | .markdown-body a:not([class]):focus, 243 | .markdown-body a:not([class]):focus-visible, 244 | .markdown-body input[type=radio]:focus, 245 | .markdown-body input[type=radio]:focus-visible, 246 | .markdown-body input[type=checkbox]:focus, 247 | .markdown-body input[type=checkbox]:focus-visible { 248 | outline-offset: 0; 249 | } 250 | 251 | .markdown-body kbd { 252 | display: inline-block; 253 | padding: 0.25rem; 254 | font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 255 | line-height: 10px; 256 | color: #f0f6fc; 257 | vertical-align: middle; 258 | background-color: #151b23; 259 | border: solid 1px #3d444db3; 260 | border-bottom-color: #3d444db3; 261 | border-radius: 6px; 262 | box-shadow: inset 0 -1px 0 #3d444db3; 263 | } 264 | 265 | .markdown-body h1, 266 | .markdown-body h2, 267 | .markdown-body h3, 268 | .markdown-body h4, 269 | .markdown-body h5, 270 | .markdown-body h6 { 271 | margin-top: 1.5rem; 272 | margin-bottom: 1rem; 273 | font-weight: 600; 274 | line-height: 1.25; 275 | } 276 | 277 | .markdown-body h2 { 278 | font-weight: 600; 279 | padding-bottom: .3em; 280 | font-size: 1.5em; 281 | border-bottom: 1px solid #3d444db3; 282 | } 283 | 284 | .markdown-body h3 { 285 | font-weight: 600; 286 | font-size: 1.25em; 287 | } 288 | 289 | .markdown-body h4 { 290 | font-weight: 600; 291 | font-size: 1em; 292 | } 293 | 294 | .markdown-body h5 { 295 | font-weight: 600; 296 | font-size: .875em; 297 | } 298 | 299 | .markdown-body h6 { 300 | font-weight: 600; 301 | font-size: .85em; 302 | color: #9198a1; 303 | } 304 | 305 | .markdown-body p { 306 | margin-top: 0; 307 | margin-bottom: 10px; 308 | } 309 | 310 | .markdown-body blockquote { 311 | margin: 0; 312 | padding: 0 1em; 313 | color: #9198a1; 314 | border-left: .25em solid #3d444d; 315 | } 316 | 317 | .markdown-body ul, 318 | .markdown-body ol { 319 | margin-top: 0; 320 | margin-bottom: 0; 321 | padding-left: 2em; 322 | } 323 | 324 | .markdown-body ol ol, 325 | .markdown-body ul ol { 326 | list-style-type: lower-roman; 327 | } 328 | 329 | .markdown-body ul ul ol, 330 | .markdown-body ul ol ol, 331 | .markdown-body ol ul ol, 332 | .markdown-body ol ol ol { 333 | list-style-type: lower-alpha; 334 | } 335 | 336 | .markdown-body dd { 337 | margin-left: 0; 338 | } 339 | 340 | .markdown-body tt, 341 | .markdown-body code, 342 | .markdown-body samp { 343 | font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 344 | font-size: 12px; 345 | } 346 | 347 | .markdown-body pre { 348 | margin-top: 0; 349 | margin-bottom: 0; 350 | font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 351 | font-size: 12px; 352 | word-wrap: normal; 353 | } 354 | 355 | .markdown-body .octicon { 356 | display: inline-block; 357 | overflow: visible !important; 358 | vertical-align: text-bottom; 359 | fill: currentColor; 360 | } 361 | 362 | .markdown-body input::-webkit-outer-spin-button, 363 | .markdown-body input::-webkit-inner-spin-button { 364 | margin: 0; 365 | appearance: none; 366 | } 367 | 368 | .markdown-body .mr-2 { 369 | margin-right: 0.5rem !important; 370 | } 371 | 372 | .markdown-body::before { 373 | display: table; 374 | content: ""; 375 | } 376 | 377 | .markdown-body::after { 378 | display: table; 379 | clear: both; 380 | content: ""; 381 | } 382 | 383 | .markdown-body>*:first-child { 384 | margin-top: 0 !important; 385 | } 386 | 387 | .markdown-body>*:last-child { 388 | margin-bottom: 0 !important; 389 | } 390 | 391 | .markdown-body a:not([href]) { 392 | color: inherit; 393 | text-decoration: none; 394 | } 395 | 396 | .markdown-body .absent { 397 | color: #f85149; 398 | } 399 | 400 | .markdown-body .anchor { 401 | float: left; 402 | padding-right: 0.25rem; 403 | margin-left: -20px; 404 | line-height: 1; 405 | } 406 | 407 | .markdown-body .anchor:focus { 408 | outline: none; 409 | } 410 | 411 | .markdown-body p, 412 | .markdown-body blockquote, 413 | .markdown-body ul, 414 | .markdown-body ol, 415 | .markdown-body dl, 416 | .markdown-body table, 417 | .markdown-body pre, 418 | .markdown-body details { 419 | margin-top: 0; 420 | margin-bottom: 1rem; 421 | } 422 | 423 | .markdown-body blockquote>:first-child { 424 | margin-top: 0; 425 | } 426 | 427 | .markdown-body blockquote>:last-child { 428 | margin-bottom: 0; 429 | } 430 | 431 | .markdown-body h1 .octicon-link, 432 | .markdown-body h2 .octicon-link, 433 | .markdown-body h3 .octicon-link, 434 | .markdown-body h4 .octicon-link, 435 | .markdown-body h5 .octicon-link, 436 | .markdown-body h6 .octicon-link { 437 | color: #f0f6fc; 438 | vertical-align: middle; 439 | visibility: hidden; 440 | } 441 | 442 | .markdown-body h1:hover .anchor, 443 | .markdown-body h2:hover .anchor, 444 | .markdown-body h3:hover .anchor, 445 | .markdown-body h4:hover .anchor, 446 | .markdown-body h5:hover .anchor, 447 | .markdown-body h6:hover .anchor { 448 | text-decoration: none; 449 | } 450 | 451 | .markdown-body h1:hover .anchor .octicon-link, 452 | .markdown-body h2:hover .anchor .octicon-link, 453 | .markdown-body h3:hover .anchor .octicon-link, 454 | .markdown-body h4:hover .anchor .octicon-link, 455 | .markdown-body h5:hover .anchor .octicon-link, 456 | .markdown-body h6:hover .anchor .octicon-link { 457 | visibility: visible; 458 | } 459 | 460 | .markdown-body h1 tt, 461 | .markdown-body h1 code, 462 | .markdown-body h2 tt, 463 | .markdown-body h2 code, 464 | .markdown-body h3 tt, 465 | .markdown-body h3 code, 466 | .markdown-body h4 tt, 467 | .markdown-body h4 code, 468 | .markdown-body h5 tt, 469 | .markdown-body h5 code, 470 | .markdown-body h6 tt, 471 | .markdown-body h6 code { 472 | padding: 0 .2em; 473 | font-size: inherit; 474 | } 475 | 476 | .markdown-body summary h1, 477 | .markdown-body summary h2, 478 | .markdown-body summary h3, 479 | .markdown-body summary h4, 480 | .markdown-body summary h5, 481 | .markdown-body summary h6 { 482 | display: inline-block; 483 | } 484 | 485 | .markdown-body summary h1 .anchor, 486 | .markdown-body summary h2 .anchor, 487 | .markdown-body summary h3 .anchor, 488 | .markdown-body summary h4 .anchor, 489 | .markdown-body summary h5 .anchor, 490 | .markdown-body summary h6 .anchor { 491 | margin-left: -40px; 492 | } 493 | 494 | .markdown-body summary h1, 495 | .markdown-body summary h2 { 496 | padding-bottom: 0; 497 | border-bottom: 0; 498 | } 499 | 500 | .markdown-body ul.no-list, 501 | .markdown-body ol.no-list { 502 | padding: 0; 503 | list-style-type: none; 504 | } 505 | 506 | .markdown-body ol[type="a s"] { 507 | list-style-type: lower-alpha; 508 | } 509 | 510 | .markdown-body ol[type="A s"] { 511 | list-style-type: upper-alpha; 512 | } 513 | 514 | .markdown-body ol[type="i s"] { 515 | list-style-type: lower-roman; 516 | } 517 | 518 | .markdown-body ol[type="I s"] { 519 | list-style-type: upper-roman; 520 | } 521 | 522 | .markdown-body ol[type="1"] { 523 | list-style-type: decimal; 524 | } 525 | 526 | .markdown-body div>ol:not([type]) { 527 | list-style-type: decimal; 528 | } 529 | 530 | .markdown-body ul ul, 531 | .markdown-body ul ol, 532 | .markdown-body ol ol, 533 | .markdown-body ol ul { 534 | margin-top: 0; 535 | margin-bottom: 0; 536 | } 537 | 538 | .markdown-body li>p { 539 | margin-top: 1rem; 540 | } 541 | 542 | .markdown-body li+li { 543 | margin-top: .25em; 544 | } 545 | 546 | .markdown-body dl { 547 | padding: 0; 548 | } 549 | 550 | .markdown-body dl dt { 551 | padding: 0; 552 | margin-top: 1rem; 553 | font-size: 1em; 554 | font-style: italic; 555 | font-weight: 600; 556 | } 557 | 558 | .markdown-body dl dd { 559 | padding: 0 1rem; 560 | margin-bottom: 1rem; 561 | } 562 | 563 | .markdown-body table th { 564 | font-weight: 600; 565 | } 566 | 567 | .markdown-body table th, 568 | .markdown-body table td { 569 | padding: 6px 13px; 570 | border: 1px solid #3d444d; 571 | } 572 | 573 | .markdown-body table td>:last-child { 574 | margin-bottom: 0; 575 | } 576 | 577 | .markdown-body table tr { 578 | background-color: #0d1117; 579 | border-top: 1px solid #3d444db3; 580 | } 581 | 582 | .markdown-body table tr:nth-child(2n) { 583 | background-color: #151b23; 584 | } 585 | 586 | .markdown-body table img { 587 | background-color: transparent; 588 | } 589 | 590 | .markdown-body img[align=right] { 591 | padding-left: 20px; 592 | } 593 | 594 | .markdown-body img[align=left] { 595 | padding-right: 20px; 596 | } 597 | 598 | .markdown-body .emoji { 599 | max-width: none; 600 | vertical-align: text-top; 601 | background-color: transparent; 602 | } 603 | 604 | .markdown-body span.frame { 605 | display: block; 606 | overflow: hidden; 607 | } 608 | 609 | .markdown-body span.frame>span { 610 | display: block; 611 | float: left; 612 | width: auto; 613 | padding: 7px; 614 | margin: 13px 0 0; 615 | overflow: hidden; 616 | border: 1px solid #3d444d; 617 | } 618 | 619 | .markdown-body span.frame span img { 620 | display: block; 621 | float: left; 622 | } 623 | 624 | .markdown-body span.frame span span { 625 | display: block; 626 | padding: 5px 0 0; 627 | clear: both; 628 | color: #f0f6fc; 629 | } 630 | 631 | .markdown-body span.align-center { 632 | display: block; 633 | overflow: hidden; 634 | clear: both; 635 | } 636 | 637 | .markdown-body span.align-center>span { 638 | display: block; 639 | margin: 13px auto 0; 640 | overflow: hidden; 641 | text-align: center; 642 | } 643 | 644 | .markdown-body span.align-center span img { 645 | margin: 0 auto; 646 | text-align: center; 647 | } 648 | 649 | .markdown-body span.align-right { 650 | display: block; 651 | overflow: hidden; 652 | clear: both; 653 | } 654 | 655 | .markdown-body span.align-right>span { 656 | display: block; 657 | margin: 13px 0 0; 658 | overflow: hidden; 659 | text-align: right; 660 | } 661 | 662 | .markdown-body span.align-right span img { 663 | margin: 0; 664 | text-align: right; 665 | } 666 | 667 | .markdown-body span.float-left { 668 | display: block; 669 | float: left; 670 | margin-right: 13px; 671 | overflow: hidden; 672 | } 673 | 674 | .markdown-body span.float-left span { 675 | margin: 13px 0 0; 676 | } 677 | 678 | .markdown-body span.float-right { 679 | display: block; 680 | float: right; 681 | margin-left: 13px; 682 | overflow: hidden; 683 | } 684 | 685 | .markdown-body span.float-right>span { 686 | display: block; 687 | margin: 13px auto 0; 688 | overflow: hidden; 689 | text-align: right; 690 | } 691 | 692 | .markdown-body code, 693 | .markdown-body tt { 694 | padding: .2em .4em; 695 | margin: 0; 696 | font-size: 85%; 697 | white-space: break-spaces; 698 | background-color: #656c7633; 699 | border-radius: 6px; 700 | } 701 | 702 | .markdown-body code br, 703 | .markdown-body tt br { 704 | display: none; 705 | } 706 | 707 | .markdown-body del code { 708 | text-decoration: inherit; 709 | } 710 | 711 | .markdown-body samp { 712 | font-size: 85%; 713 | } 714 | 715 | .markdown-body pre code { 716 | font-size: 100%; 717 | } 718 | 719 | .markdown-body pre>code { 720 | padding: 0; 721 | margin: 0; 722 | word-break: normal; 723 | white-space: pre; 724 | background: transparent; 725 | border: 0; 726 | } 727 | 728 | .markdown-body .highlight { 729 | margin-bottom: 1rem; 730 | } 731 | 732 | .markdown-body .highlight pre { 733 | margin-bottom: 0; 734 | word-break: normal; 735 | } 736 | 737 | .markdown-body .highlight pre, 738 | .markdown-body pre { 739 | padding: 1rem; 740 | overflow: auto; 741 | font-size: 85%; 742 | line-height: 1.45; 743 | color: #f0f6fc; 744 | background-color: #151b23; 745 | border-radius: 6px; 746 | } 747 | 748 | .markdown-body pre code, 749 | .markdown-body pre tt { 750 | display: inline; 751 | max-width: auto; 752 | padding: 0; 753 | margin: 0; 754 | overflow: visible; 755 | line-height: inherit; 756 | word-wrap: normal; 757 | background-color: transparent; 758 | border: 0; 759 | } 760 | 761 | .markdown-body .csv-data td, 762 | .markdown-body .csv-data th { 763 | padding: 5px; 764 | overflow: hidden; 765 | font-size: 12px; 766 | line-height: 1; 767 | text-align: left; 768 | white-space: nowrap; 769 | } 770 | 771 | .markdown-body .csv-data .blob-num { 772 | padding: 10px 0.5rem 9px; 773 | text-align: right; 774 | background: #0d1117; 775 | border: 0; 776 | } 777 | 778 | .markdown-body .csv-data tr { 779 | border-top: 0; 780 | } 781 | 782 | .markdown-body .csv-data th { 783 | font-weight: 600; 784 | background: #151b23; 785 | border-top: 0; 786 | } 787 | 788 | .markdown-body [data-footnote-ref]::before { 789 | content: "["; 790 | } 791 | 792 | .markdown-body [data-footnote-ref]::after { 793 | content: "]"; 794 | } 795 | 796 | .markdown-body .footnotes { 797 | font-size: 12px; 798 | color: #9198a1; 799 | border-top: 1px solid #3d444d; 800 | } 801 | 802 | .markdown-body .footnotes ol { 803 | padding-left: 1rem; 804 | } 805 | 806 | .markdown-body .footnotes ol ul { 807 | display: inline-block; 808 | padding-left: 1rem; 809 | margin-top: 1rem; 810 | } 811 | 812 | .markdown-body .footnotes li { 813 | position: relative; 814 | } 815 | 816 | .markdown-body .footnotes li:target::before { 817 | position: absolute; 818 | top: calc(0.5rem*-1); 819 | right: calc(0.5rem*-1); 820 | bottom: calc(0.5rem*-1); 821 | left: calc(1.5rem*-1); 822 | pointer-events: none; 823 | content: ""; 824 | border: 2px solid #1f6feb; 825 | border-radius: 6px; 826 | } 827 | 828 | .markdown-body .footnotes li:target { 829 | color: #f0f6fc; 830 | } 831 | 832 | .markdown-body .footnotes .data-footnote-backref g-emoji { 833 | font-family: monospace; 834 | } 835 | 836 | .markdown-body body:has(:modal) { 837 | padding-right: var(--dialog-scrollgutter) !important; 838 | } 839 | 840 | .markdown-body .pl-c { 841 | color: #9198a1; 842 | } 843 | 844 | .markdown-body .pl-c1, 845 | .markdown-body .pl-s .pl-v { 846 | color: #79c0ff; 847 | } 848 | 849 | .markdown-body .pl-e, 850 | .markdown-body .pl-en { 851 | color: #d2a8ff; 852 | } 853 | 854 | .markdown-body .pl-smi, 855 | .markdown-body .pl-s .pl-s1 { 856 | color: #f0f6fc; 857 | } 858 | 859 | .markdown-body .pl-ent { 860 | color: #7ee787; 861 | } 862 | 863 | .markdown-body .pl-k { 864 | color: #ff7b72; 865 | } 866 | 867 | .markdown-body .pl-s, 868 | .markdown-body .pl-pds, 869 | .markdown-body .pl-s .pl-pse .pl-s1, 870 | .markdown-body .pl-sr, 871 | .markdown-body .pl-sr .pl-cce, 872 | .markdown-body .pl-sr .pl-sre, 873 | .markdown-body .pl-sr .pl-sra { 874 | color: #a5d6ff; 875 | } 876 | 877 | .markdown-body .pl-v, 878 | .markdown-body .pl-smw { 879 | color: #ffa657; 880 | } 881 | 882 | .markdown-body .pl-bu { 883 | color: #f85149; 884 | } 885 | 886 | .markdown-body .pl-ii { 887 | color: #f0f6fc; 888 | background-color: #8e1519; 889 | } 890 | 891 | .markdown-body .pl-c2 { 892 | color: #f0f6fc; 893 | background-color: #b62324; 894 | } 895 | 896 | .markdown-body .pl-sr .pl-cce { 897 | font-weight: bold; 898 | color: #7ee787; 899 | } 900 | 901 | .markdown-body .pl-ml { 902 | color: #f2cc60; 903 | } 904 | 905 | .markdown-body .pl-mh, 906 | .markdown-body .pl-mh .pl-en, 907 | .markdown-body .pl-ms { 908 | font-weight: bold; 909 | color: #1f6feb; 910 | } 911 | 912 | .markdown-body .pl-mi { 913 | font-style: italic; 914 | color: #f0f6fc; 915 | } 916 | 917 | .markdown-body .pl-mb { 918 | font-weight: bold; 919 | color: #f0f6fc; 920 | } 921 | 922 | .markdown-body .pl-md { 923 | color: #ffdcd7; 924 | background-color: #67060c; 925 | } 926 | 927 | .markdown-body .pl-mi1 { 928 | color: #aff5b4; 929 | background-color: #033a16; 930 | } 931 | 932 | .markdown-body .pl-mc { 933 | color: #ffdfb6; 934 | background-color: #5a1e02; 935 | } 936 | 937 | .markdown-body .pl-mi2 { 938 | color: #f0f6fc; 939 | background-color: #1158c7; 940 | } 941 | 942 | .markdown-body .pl-mdr { 943 | font-weight: bold; 944 | color: #d2a8ff; 945 | } 946 | 947 | .markdown-body .pl-ba { 948 | color: #9198a1; 949 | } 950 | 951 | .markdown-body .pl-sg { 952 | color: #3d444d; 953 | } 954 | 955 | .markdown-body .pl-corl { 956 | text-decoration: underline; 957 | color: #a5d6ff; 958 | } 959 | 960 | .markdown-body [role=button]:focus:not(:focus-visible), 961 | .markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible), 962 | .markdown-body button:focus:not(:focus-visible), 963 | .markdown-body summary:focus:not(:focus-visible), 964 | .markdown-body a:focus:not(:focus-visible) { 965 | outline: none; 966 | box-shadow: none; 967 | } 968 | 969 | .markdown-body [tabindex="0"]:focus:not(:focus-visible), 970 | .markdown-body details-dialog:focus:not(:focus-visible) { 971 | outline: none; 972 | } 973 | 974 | .markdown-body g-emoji { 975 | display: inline-block; 976 | min-width: 1ch; 977 | font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; 978 | font-size: 1em; 979 | font-style: normal !important; 980 | font-weight: 400; 981 | line-height: 1; 982 | vertical-align: -0.075em; 983 | } 984 | 985 | .markdown-body g-emoji img { 986 | width: 1em; 987 | height: 1em; 988 | } 989 | 990 | .markdown-body .task-list-item { 991 | list-style-type: none; 992 | } 993 | 994 | .markdown-body .task-list-item label { 995 | font-weight: 400; 996 | } 997 | 998 | .markdown-body .task-list-item.enabled label { 999 | cursor: pointer; 1000 | } 1001 | 1002 | .markdown-body .task-list-item+.task-list-item { 1003 | margin-top: 0.25rem; 1004 | } 1005 | 1006 | .markdown-body .task-list-item .handle { 1007 | display: none; 1008 | } 1009 | 1010 | .markdown-body .task-list-item-checkbox { 1011 | margin: 0 .2em .25em -1.4em; 1012 | vertical-align: middle; 1013 | } 1014 | 1015 | .markdown-body ul:dir(rtl) .task-list-item-checkbox { 1016 | margin: 0 -1.6em .25em .2em; 1017 | } 1018 | 1019 | .markdown-body ol:dir(rtl) .task-list-item-checkbox { 1020 | margin: 0 -1.6em .25em .2em; 1021 | } 1022 | 1023 | .markdown-body .contains-task-list:hover .task-list-item-convert-container, 1024 | .markdown-body .contains-task-list:focus-within .task-list-item-convert-container { 1025 | display: block; 1026 | width: auto; 1027 | height: 24px; 1028 | overflow: visible; 1029 | clip: auto; 1030 | } 1031 | 1032 | .markdown-body ::-webkit-calendar-picker-indicator { 1033 | filter: invert(50%); 1034 | } 1035 | 1036 | .markdown-body .markdown-alert { 1037 | padding: 0.5rem 1rem; 1038 | margin-bottom: 1rem; 1039 | color: inherit; 1040 | border-left: .25em solid #3d444d; 1041 | } 1042 | 1043 | .markdown-body .markdown-alert>:first-child { 1044 | margin-top: 0; 1045 | } 1046 | 1047 | .markdown-body .markdown-alert>:last-child { 1048 | margin-bottom: 0; 1049 | } 1050 | 1051 | .markdown-body .markdown-alert .markdown-alert-title { 1052 | display: flex; 1053 | font-weight: 500; 1054 | align-items: center; 1055 | line-height: 1; 1056 | } 1057 | 1058 | .markdown-body .markdown-alert.markdown-alert-note { 1059 | border-left-color: #1f6feb; 1060 | } 1061 | 1062 | .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title { 1063 | color: #4493f8; 1064 | } 1065 | 1066 | .markdown-body .markdown-alert.markdown-alert-important { 1067 | border-left-color: #8957e5; 1068 | } 1069 | 1070 | .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title { 1071 | color: #ab7df8; 1072 | } 1073 | 1074 | .markdown-body .markdown-alert.markdown-alert-warning { 1075 | border-left-color: #9e6a03; 1076 | } 1077 | 1078 | .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title { 1079 | color: #d29922; 1080 | } 1081 | 1082 | .markdown-body .markdown-alert.markdown-alert-tip { 1083 | border-left-color: #238636; 1084 | } 1085 | 1086 | .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title { 1087 | color: #3fb950; 1088 | } 1089 | 1090 | .markdown-body .markdown-alert.markdown-alert-caution { 1091 | border-left-color: #da3633; 1092 | } 1093 | 1094 | .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title { 1095 | color: #f85149; 1096 | } 1097 | 1098 | .markdown-body>*:first-child>.heading-element:first-child { 1099 | margin-top: 0 !important; 1100 | } 1101 | 1102 | .markdown-body .highlight pre:has(+.zeroclipboard-container) { 1103 | min-height: 52px; 1104 | } 1105 | 1106 | -------------------------------------------------------------------------------- /github-markdown-light.css: -------------------------------------------------------------------------------- 1 | /* light */ 2 | .markdown-body { 3 | color-scheme: light; 4 | -ms-text-size-adjust: 100%; 5 | -webkit-text-size-adjust: 100%; 6 | margin: 0; 7 | color: #1f2328; 8 | background-color: #ffffff; 9 | font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; 10 | font-size: 16px; 11 | line-height: 1.5; 12 | word-wrap: break-word; 13 | } 14 | 15 | .markdown-body .octicon { 16 | display: inline-block; 17 | fill: currentColor; 18 | vertical-align: text-bottom; 19 | } 20 | 21 | .markdown-body h1:hover .anchor .octicon-link:before, 22 | .markdown-body h2:hover .anchor .octicon-link:before, 23 | .markdown-body h3:hover .anchor .octicon-link:before, 24 | .markdown-body h4:hover .anchor .octicon-link:before, 25 | .markdown-body h5:hover .anchor .octicon-link:before, 26 | .markdown-body h6:hover .anchor .octicon-link:before { 27 | width: 16px; 28 | height: 16px; 29 | content: ' '; 30 | display: inline-block; 31 | background-color: currentColor; 32 | -webkit-mask-image: url("data:image/svg+xml,"); 33 | mask-image: url("data:image/svg+xml,"); 34 | } 35 | 36 | .markdown-body details, 37 | .markdown-body figcaption, 38 | .markdown-body figure { 39 | display: block; 40 | } 41 | 42 | .markdown-body summary { 43 | display: list-item; 44 | } 45 | 46 | .markdown-body [hidden] { 47 | display: none !important; 48 | } 49 | 50 | .markdown-body a { 51 | background-color: transparent; 52 | color: #0969da; 53 | text-decoration: none; 54 | } 55 | 56 | .markdown-body abbr[title] { 57 | border-bottom: none; 58 | -webkit-text-decoration: underline dotted; 59 | text-decoration: underline dotted; 60 | } 61 | 62 | .markdown-body b, 63 | .markdown-body strong { 64 | font-weight: 600; 65 | } 66 | 67 | .markdown-body dfn { 68 | font-style: italic; 69 | } 70 | 71 | .markdown-body h1 { 72 | margin: .67em 0; 73 | font-weight: 600; 74 | padding-bottom: .3em; 75 | font-size: 2em; 76 | border-bottom: 1px solid #d1d9e0b3; 77 | } 78 | 79 | .markdown-body mark { 80 | background-color: #fff8c5; 81 | color: #1f2328; 82 | } 83 | 84 | .markdown-body small { 85 | font-size: 90%; 86 | } 87 | 88 | .markdown-body sub, 89 | .markdown-body sup { 90 | font-size: 75%; 91 | line-height: 0; 92 | position: relative; 93 | vertical-align: baseline; 94 | } 95 | 96 | .markdown-body sub { 97 | bottom: -0.25em; 98 | } 99 | 100 | .markdown-body sup { 101 | top: -0.5em; 102 | } 103 | 104 | .markdown-body img { 105 | border-style: none; 106 | max-width: 100%; 107 | box-sizing: content-box; 108 | } 109 | 110 | .markdown-body code, 111 | .markdown-body kbd, 112 | .markdown-body pre, 113 | .markdown-body samp { 114 | font-family: monospace; 115 | font-size: 1em; 116 | } 117 | 118 | .markdown-body figure { 119 | margin: 1em 2.5rem; 120 | } 121 | 122 | .markdown-body hr { 123 | box-sizing: content-box; 124 | overflow: hidden; 125 | background: transparent; 126 | border-bottom: 1px solid #d1d9e0b3; 127 | height: .25em; 128 | padding: 0; 129 | margin: 1.5rem 0; 130 | background-color: #d1d9e0; 131 | border: 0; 132 | } 133 | 134 | .markdown-body input { 135 | font: inherit; 136 | margin: 0; 137 | overflow: visible; 138 | font-family: inherit; 139 | font-size: inherit; 140 | line-height: inherit; 141 | } 142 | 143 | .markdown-body [type=button], 144 | .markdown-body [type=reset], 145 | .markdown-body [type=submit] { 146 | -webkit-appearance: button; 147 | appearance: button; 148 | } 149 | 150 | .markdown-body [type=checkbox], 151 | .markdown-body [type=radio] { 152 | box-sizing: border-box; 153 | padding: 0; 154 | } 155 | 156 | .markdown-body [type=number]::-webkit-inner-spin-button, 157 | .markdown-body [type=number]::-webkit-outer-spin-button { 158 | height: auto; 159 | } 160 | 161 | .markdown-body [type=search]::-webkit-search-cancel-button, 162 | .markdown-body [type=search]::-webkit-search-decoration { 163 | -webkit-appearance: none; 164 | appearance: none; 165 | } 166 | 167 | .markdown-body ::-webkit-input-placeholder { 168 | color: inherit; 169 | opacity: .54; 170 | } 171 | 172 | .markdown-body ::-webkit-file-upload-button { 173 | -webkit-appearance: button; 174 | appearance: button; 175 | font: inherit; 176 | } 177 | 178 | .markdown-body a:hover { 179 | text-decoration: underline; 180 | } 181 | 182 | .markdown-body ::placeholder { 183 | color: #59636e; 184 | opacity: 1; 185 | } 186 | 187 | .markdown-body hr::before { 188 | display: table; 189 | content: ""; 190 | } 191 | 192 | .markdown-body hr::after { 193 | display: table; 194 | clear: both; 195 | content: ""; 196 | } 197 | 198 | .markdown-body table { 199 | border-spacing: 0; 200 | border-collapse: collapse; 201 | display: block; 202 | width: max-content; 203 | max-width: 100%; 204 | overflow: auto; 205 | font-variant: tabular-nums; 206 | } 207 | 208 | .markdown-body td, 209 | .markdown-body th { 210 | padding: 0; 211 | } 212 | 213 | .markdown-body details summary { 214 | cursor: pointer; 215 | } 216 | 217 | .markdown-body a:focus, 218 | .markdown-body [role=button]:focus, 219 | .markdown-body input[type=radio]:focus, 220 | .markdown-body input[type=checkbox]:focus { 221 | outline: 2px solid #0969da; 222 | outline-offset: -2px; 223 | box-shadow: none; 224 | } 225 | 226 | .markdown-body a:focus:not(:focus-visible), 227 | .markdown-body [role=button]:focus:not(:focus-visible), 228 | .markdown-body input[type=radio]:focus:not(:focus-visible), 229 | .markdown-body input[type=checkbox]:focus:not(:focus-visible) { 230 | outline: solid 1px transparent; 231 | } 232 | 233 | .markdown-body a:focus-visible, 234 | .markdown-body [role=button]:focus-visible, 235 | .markdown-body input[type=radio]:focus-visible, 236 | .markdown-body input[type=checkbox]:focus-visible { 237 | outline: 2px solid #0969da; 238 | outline-offset: -2px; 239 | box-shadow: none; 240 | } 241 | 242 | .markdown-body a:not([class]):focus, 243 | .markdown-body a:not([class]):focus-visible, 244 | .markdown-body input[type=radio]:focus, 245 | .markdown-body input[type=radio]:focus-visible, 246 | .markdown-body input[type=checkbox]:focus, 247 | .markdown-body input[type=checkbox]:focus-visible { 248 | outline-offset: 0; 249 | } 250 | 251 | .markdown-body kbd { 252 | display: inline-block; 253 | padding: 0.25rem; 254 | font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 255 | line-height: 10px; 256 | color: #1f2328; 257 | vertical-align: middle; 258 | background-color: #f6f8fa; 259 | border: solid 1px #d1d9e0b3; 260 | border-bottom-color: #d1d9e0b3; 261 | border-radius: 6px; 262 | box-shadow: inset 0 -1px 0 #d1d9e0b3; 263 | } 264 | 265 | .markdown-body h1, 266 | .markdown-body h2, 267 | .markdown-body h3, 268 | .markdown-body h4, 269 | .markdown-body h5, 270 | .markdown-body h6 { 271 | margin-top: 1.5rem; 272 | margin-bottom: 1rem; 273 | font-weight: 600; 274 | line-height: 1.25; 275 | } 276 | 277 | .markdown-body h2 { 278 | font-weight: 600; 279 | padding-bottom: .3em; 280 | font-size: 1.5em; 281 | border-bottom: 1px solid #d1d9e0b3; 282 | } 283 | 284 | .markdown-body h3 { 285 | font-weight: 600; 286 | font-size: 1.25em; 287 | } 288 | 289 | .markdown-body h4 { 290 | font-weight: 600; 291 | font-size: 1em; 292 | } 293 | 294 | .markdown-body h5 { 295 | font-weight: 600; 296 | font-size: .875em; 297 | } 298 | 299 | .markdown-body h6 { 300 | font-weight: 600; 301 | font-size: .85em; 302 | color: #59636e; 303 | } 304 | 305 | .markdown-body p { 306 | margin-top: 0; 307 | margin-bottom: 10px; 308 | } 309 | 310 | .markdown-body blockquote { 311 | margin: 0; 312 | padding: 0 1em; 313 | color: #59636e; 314 | border-left: .25em solid #d1d9e0; 315 | } 316 | 317 | .markdown-body ul, 318 | .markdown-body ol { 319 | margin-top: 0; 320 | margin-bottom: 0; 321 | padding-left: 2em; 322 | } 323 | 324 | .markdown-body ol ol, 325 | .markdown-body ul ol { 326 | list-style-type: lower-roman; 327 | } 328 | 329 | .markdown-body ul ul ol, 330 | .markdown-body ul ol ol, 331 | .markdown-body ol ul ol, 332 | .markdown-body ol ol ol { 333 | list-style-type: lower-alpha; 334 | } 335 | 336 | .markdown-body dd { 337 | margin-left: 0; 338 | } 339 | 340 | .markdown-body tt, 341 | .markdown-body code, 342 | .markdown-body samp { 343 | font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 344 | font-size: 12px; 345 | } 346 | 347 | .markdown-body pre { 348 | margin-top: 0; 349 | margin-bottom: 0; 350 | font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 351 | font-size: 12px; 352 | word-wrap: normal; 353 | } 354 | 355 | .markdown-body .octicon { 356 | display: inline-block; 357 | overflow: visible !important; 358 | vertical-align: text-bottom; 359 | fill: currentColor; 360 | } 361 | 362 | .markdown-body input::-webkit-outer-spin-button, 363 | .markdown-body input::-webkit-inner-spin-button { 364 | margin: 0; 365 | appearance: none; 366 | } 367 | 368 | .markdown-body .mr-2 { 369 | margin-right: 0.5rem !important; 370 | } 371 | 372 | .markdown-body::before { 373 | display: table; 374 | content: ""; 375 | } 376 | 377 | .markdown-body::after { 378 | display: table; 379 | clear: both; 380 | content: ""; 381 | } 382 | 383 | .markdown-body>*:first-child { 384 | margin-top: 0 !important; 385 | } 386 | 387 | .markdown-body>*:last-child { 388 | margin-bottom: 0 !important; 389 | } 390 | 391 | .markdown-body a:not([href]) { 392 | color: inherit; 393 | text-decoration: none; 394 | } 395 | 396 | .markdown-body .absent { 397 | color: #d1242f; 398 | } 399 | 400 | .markdown-body .anchor { 401 | float: left; 402 | padding-right: 0.25rem; 403 | margin-left: -20px; 404 | line-height: 1; 405 | } 406 | 407 | .markdown-body .anchor:focus { 408 | outline: none; 409 | } 410 | 411 | .markdown-body p, 412 | .markdown-body blockquote, 413 | .markdown-body ul, 414 | .markdown-body ol, 415 | .markdown-body dl, 416 | .markdown-body table, 417 | .markdown-body pre, 418 | .markdown-body details { 419 | margin-top: 0; 420 | margin-bottom: 1rem; 421 | } 422 | 423 | .markdown-body blockquote>:first-child { 424 | margin-top: 0; 425 | } 426 | 427 | .markdown-body blockquote>:last-child { 428 | margin-bottom: 0; 429 | } 430 | 431 | .markdown-body h1 .octicon-link, 432 | .markdown-body h2 .octicon-link, 433 | .markdown-body h3 .octicon-link, 434 | .markdown-body h4 .octicon-link, 435 | .markdown-body h5 .octicon-link, 436 | .markdown-body h6 .octicon-link { 437 | color: #1f2328; 438 | vertical-align: middle; 439 | visibility: hidden; 440 | } 441 | 442 | .markdown-body h1:hover .anchor, 443 | .markdown-body h2:hover .anchor, 444 | .markdown-body h3:hover .anchor, 445 | .markdown-body h4:hover .anchor, 446 | .markdown-body h5:hover .anchor, 447 | .markdown-body h6:hover .anchor { 448 | text-decoration: none; 449 | } 450 | 451 | .markdown-body h1:hover .anchor .octicon-link, 452 | .markdown-body h2:hover .anchor .octicon-link, 453 | .markdown-body h3:hover .anchor .octicon-link, 454 | .markdown-body h4:hover .anchor .octicon-link, 455 | .markdown-body h5:hover .anchor .octicon-link, 456 | .markdown-body h6:hover .anchor .octicon-link { 457 | visibility: visible; 458 | } 459 | 460 | .markdown-body h1 tt, 461 | .markdown-body h1 code, 462 | .markdown-body h2 tt, 463 | .markdown-body h2 code, 464 | .markdown-body h3 tt, 465 | .markdown-body h3 code, 466 | .markdown-body h4 tt, 467 | .markdown-body h4 code, 468 | .markdown-body h5 tt, 469 | .markdown-body h5 code, 470 | .markdown-body h6 tt, 471 | .markdown-body h6 code { 472 | padding: 0 .2em; 473 | font-size: inherit; 474 | } 475 | 476 | .markdown-body summary h1, 477 | .markdown-body summary h2, 478 | .markdown-body summary h3, 479 | .markdown-body summary h4, 480 | .markdown-body summary h5, 481 | .markdown-body summary h6 { 482 | display: inline-block; 483 | } 484 | 485 | .markdown-body summary h1 .anchor, 486 | .markdown-body summary h2 .anchor, 487 | .markdown-body summary h3 .anchor, 488 | .markdown-body summary h4 .anchor, 489 | .markdown-body summary h5 .anchor, 490 | .markdown-body summary h6 .anchor { 491 | margin-left: -40px; 492 | } 493 | 494 | .markdown-body summary h1, 495 | .markdown-body summary h2 { 496 | padding-bottom: 0; 497 | border-bottom: 0; 498 | } 499 | 500 | .markdown-body ul.no-list, 501 | .markdown-body ol.no-list { 502 | padding: 0; 503 | list-style-type: none; 504 | } 505 | 506 | .markdown-body ol[type="a s"] { 507 | list-style-type: lower-alpha; 508 | } 509 | 510 | .markdown-body ol[type="A s"] { 511 | list-style-type: upper-alpha; 512 | } 513 | 514 | .markdown-body ol[type="i s"] { 515 | list-style-type: lower-roman; 516 | } 517 | 518 | .markdown-body ol[type="I s"] { 519 | list-style-type: upper-roman; 520 | } 521 | 522 | .markdown-body ol[type="1"] { 523 | list-style-type: decimal; 524 | } 525 | 526 | .markdown-body div>ol:not([type]) { 527 | list-style-type: decimal; 528 | } 529 | 530 | .markdown-body ul ul, 531 | .markdown-body ul ol, 532 | .markdown-body ol ol, 533 | .markdown-body ol ul { 534 | margin-top: 0; 535 | margin-bottom: 0; 536 | } 537 | 538 | .markdown-body li>p { 539 | margin-top: 1rem; 540 | } 541 | 542 | .markdown-body li+li { 543 | margin-top: .25em; 544 | } 545 | 546 | .markdown-body dl { 547 | padding: 0; 548 | } 549 | 550 | .markdown-body dl dt { 551 | padding: 0; 552 | margin-top: 1rem; 553 | font-size: 1em; 554 | font-style: italic; 555 | font-weight: 600; 556 | } 557 | 558 | .markdown-body dl dd { 559 | padding: 0 1rem; 560 | margin-bottom: 1rem; 561 | } 562 | 563 | .markdown-body table th { 564 | font-weight: 600; 565 | } 566 | 567 | .markdown-body table th, 568 | .markdown-body table td { 569 | padding: 6px 13px; 570 | border: 1px solid #d1d9e0; 571 | } 572 | 573 | .markdown-body table td>:last-child { 574 | margin-bottom: 0; 575 | } 576 | 577 | .markdown-body table tr { 578 | background-color: #ffffff; 579 | border-top: 1px solid #d1d9e0b3; 580 | } 581 | 582 | .markdown-body table tr:nth-child(2n) { 583 | background-color: #f6f8fa; 584 | } 585 | 586 | .markdown-body table img { 587 | background-color: transparent; 588 | } 589 | 590 | .markdown-body img[align=right] { 591 | padding-left: 20px; 592 | } 593 | 594 | .markdown-body img[align=left] { 595 | padding-right: 20px; 596 | } 597 | 598 | .markdown-body .emoji { 599 | max-width: none; 600 | vertical-align: text-top; 601 | background-color: transparent; 602 | } 603 | 604 | .markdown-body span.frame { 605 | display: block; 606 | overflow: hidden; 607 | } 608 | 609 | .markdown-body span.frame>span { 610 | display: block; 611 | float: left; 612 | width: auto; 613 | padding: 7px; 614 | margin: 13px 0 0; 615 | overflow: hidden; 616 | border: 1px solid #d1d9e0; 617 | } 618 | 619 | .markdown-body span.frame span img { 620 | display: block; 621 | float: left; 622 | } 623 | 624 | .markdown-body span.frame span span { 625 | display: block; 626 | padding: 5px 0 0; 627 | clear: both; 628 | color: #1f2328; 629 | } 630 | 631 | .markdown-body span.align-center { 632 | display: block; 633 | overflow: hidden; 634 | clear: both; 635 | } 636 | 637 | .markdown-body span.align-center>span { 638 | display: block; 639 | margin: 13px auto 0; 640 | overflow: hidden; 641 | text-align: center; 642 | } 643 | 644 | .markdown-body span.align-center span img { 645 | margin: 0 auto; 646 | text-align: center; 647 | } 648 | 649 | .markdown-body span.align-right { 650 | display: block; 651 | overflow: hidden; 652 | clear: both; 653 | } 654 | 655 | .markdown-body span.align-right>span { 656 | display: block; 657 | margin: 13px 0 0; 658 | overflow: hidden; 659 | text-align: right; 660 | } 661 | 662 | .markdown-body span.align-right span img { 663 | margin: 0; 664 | text-align: right; 665 | } 666 | 667 | .markdown-body span.float-left { 668 | display: block; 669 | float: left; 670 | margin-right: 13px; 671 | overflow: hidden; 672 | } 673 | 674 | .markdown-body span.float-left span { 675 | margin: 13px 0 0; 676 | } 677 | 678 | .markdown-body span.float-right { 679 | display: block; 680 | float: right; 681 | margin-left: 13px; 682 | overflow: hidden; 683 | } 684 | 685 | .markdown-body span.float-right>span { 686 | display: block; 687 | margin: 13px auto 0; 688 | overflow: hidden; 689 | text-align: right; 690 | } 691 | 692 | .markdown-body code, 693 | .markdown-body tt { 694 | padding: .2em .4em; 695 | margin: 0; 696 | font-size: 85%; 697 | white-space: break-spaces; 698 | background-color: #818b981f; 699 | border-radius: 6px; 700 | } 701 | 702 | .markdown-body code br, 703 | .markdown-body tt br { 704 | display: none; 705 | } 706 | 707 | .markdown-body del code { 708 | text-decoration: inherit; 709 | } 710 | 711 | .markdown-body samp { 712 | font-size: 85%; 713 | } 714 | 715 | .markdown-body pre code { 716 | font-size: 100%; 717 | } 718 | 719 | .markdown-body pre>code { 720 | padding: 0; 721 | margin: 0; 722 | word-break: normal; 723 | white-space: pre; 724 | background: transparent; 725 | border: 0; 726 | } 727 | 728 | .markdown-body .highlight { 729 | margin-bottom: 1rem; 730 | } 731 | 732 | .markdown-body .highlight pre { 733 | margin-bottom: 0; 734 | word-break: normal; 735 | } 736 | 737 | .markdown-body .highlight pre, 738 | .markdown-body pre { 739 | padding: 1rem; 740 | overflow: auto; 741 | font-size: 85%; 742 | line-height: 1.45; 743 | color: #1f2328; 744 | background-color: #f6f8fa; 745 | border-radius: 6px; 746 | } 747 | 748 | .markdown-body pre code, 749 | .markdown-body pre tt { 750 | display: inline; 751 | max-width: auto; 752 | padding: 0; 753 | margin: 0; 754 | overflow: visible; 755 | line-height: inherit; 756 | word-wrap: normal; 757 | background-color: transparent; 758 | border: 0; 759 | } 760 | 761 | .markdown-body .csv-data td, 762 | .markdown-body .csv-data th { 763 | padding: 5px; 764 | overflow: hidden; 765 | font-size: 12px; 766 | line-height: 1; 767 | text-align: left; 768 | white-space: nowrap; 769 | } 770 | 771 | .markdown-body .csv-data .blob-num { 772 | padding: 10px 0.5rem 9px; 773 | text-align: right; 774 | background: #ffffff; 775 | border: 0; 776 | } 777 | 778 | .markdown-body .csv-data tr { 779 | border-top: 0; 780 | } 781 | 782 | .markdown-body .csv-data th { 783 | font-weight: 600; 784 | background: #f6f8fa; 785 | border-top: 0; 786 | } 787 | 788 | .markdown-body [data-footnote-ref]::before { 789 | content: "["; 790 | } 791 | 792 | .markdown-body [data-footnote-ref]::after { 793 | content: "]"; 794 | } 795 | 796 | .markdown-body .footnotes { 797 | font-size: 12px; 798 | color: #59636e; 799 | border-top: 1px solid #d1d9e0; 800 | } 801 | 802 | .markdown-body .footnotes ol { 803 | padding-left: 1rem; 804 | } 805 | 806 | .markdown-body .footnotes ol ul { 807 | display: inline-block; 808 | padding-left: 1rem; 809 | margin-top: 1rem; 810 | } 811 | 812 | .markdown-body .footnotes li { 813 | position: relative; 814 | } 815 | 816 | .markdown-body .footnotes li:target::before { 817 | position: absolute; 818 | top: calc(0.5rem*-1); 819 | right: calc(0.5rem*-1); 820 | bottom: calc(0.5rem*-1); 821 | left: calc(1.5rem*-1); 822 | pointer-events: none; 823 | content: ""; 824 | border: 2px solid #0969da; 825 | border-radius: 6px; 826 | } 827 | 828 | .markdown-body .footnotes li:target { 829 | color: #1f2328; 830 | } 831 | 832 | .markdown-body .footnotes .data-footnote-backref g-emoji { 833 | font-family: monospace; 834 | } 835 | 836 | .markdown-body body:has(:modal) { 837 | padding-right: var(--dialog-scrollgutter) !important; 838 | } 839 | 840 | .markdown-body .pl-c { 841 | color: #59636e; 842 | } 843 | 844 | .markdown-body .pl-c1, 845 | .markdown-body .pl-s .pl-v { 846 | color: #0550ae; 847 | } 848 | 849 | .markdown-body .pl-e, 850 | .markdown-body .pl-en { 851 | color: #6639ba; 852 | } 853 | 854 | .markdown-body .pl-smi, 855 | .markdown-body .pl-s .pl-s1 { 856 | color: #1f2328; 857 | } 858 | 859 | .markdown-body .pl-ent { 860 | color: #0550ae; 861 | } 862 | 863 | .markdown-body .pl-k { 864 | color: #cf222e; 865 | } 866 | 867 | .markdown-body .pl-s, 868 | .markdown-body .pl-pds, 869 | .markdown-body .pl-s .pl-pse .pl-s1, 870 | .markdown-body .pl-sr, 871 | .markdown-body .pl-sr .pl-cce, 872 | .markdown-body .pl-sr .pl-sre, 873 | .markdown-body .pl-sr .pl-sra { 874 | color: #0a3069; 875 | } 876 | 877 | .markdown-body .pl-v, 878 | .markdown-body .pl-smw { 879 | color: #953800; 880 | } 881 | 882 | .markdown-body .pl-bu { 883 | color: #82071e; 884 | } 885 | 886 | .markdown-body .pl-ii { 887 | color: #f6f8fa; 888 | background-color: #82071e; 889 | } 890 | 891 | .markdown-body .pl-c2 { 892 | color: #f6f8fa; 893 | background-color: #cf222e; 894 | } 895 | 896 | .markdown-body .pl-sr .pl-cce { 897 | font-weight: bold; 898 | color: #116329; 899 | } 900 | 901 | .markdown-body .pl-ml { 902 | color: #3b2300; 903 | } 904 | 905 | .markdown-body .pl-mh, 906 | .markdown-body .pl-mh .pl-en, 907 | .markdown-body .pl-ms { 908 | font-weight: bold; 909 | color: #0550ae; 910 | } 911 | 912 | .markdown-body .pl-mi { 913 | font-style: italic; 914 | color: #1f2328; 915 | } 916 | 917 | .markdown-body .pl-mb { 918 | font-weight: bold; 919 | color: #1f2328; 920 | } 921 | 922 | .markdown-body .pl-md { 923 | color: #82071e; 924 | background-color: #ffebe9; 925 | } 926 | 927 | .markdown-body .pl-mi1 { 928 | color: #116329; 929 | background-color: #dafbe1; 930 | } 931 | 932 | .markdown-body .pl-mc { 933 | color: #953800; 934 | background-color: #ffd8b5; 935 | } 936 | 937 | .markdown-body .pl-mi2 { 938 | color: #d1d9e0; 939 | background-color: #0550ae; 940 | } 941 | 942 | .markdown-body .pl-mdr { 943 | font-weight: bold; 944 | color: #8250df; 945 | } 946 | 947 | .markdown-body .pl-ba { 948 | color: #59636e; 949 | } 950 | 951 | .markdown-body .pl-sg { 952 | color: #818b98; 953 | } 954 | 955 | .markdown-body .pl-corl { 956 | text-decoration: underline; 957 | color: #0a3069; 958 | } 959 | 960 | .markdown-body [role=button]:focus:not(:focus-visible), 961 | .markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible), 962 | .markdown-body button:focus:not(:focus-visible), 963 | .markdown-body summary:focus:not(:focus-visible), 964 | .markdown-body a:focus:not(:focus-visible) { 965 | outline: none; 966 | box-shadow: none; 967 | } 968 | 969 | .markdown-body [tabindex="0"]:focus:not(:focus-visible), 970 | .markdown-body details-dialog:focus:not(:focus-visible) { 971 | outline: none; 972 | } 973 | 974 | .markdown-body g-emoji { 975 | display: inline-block; 976 | min-width: 1ch; 977 | font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; 978 | font-size: 1em; 979 | font-style: normal !important; 980 | font-weight: 400; 981 | line-height: 1; 982 | vertical-align: -0.075em; 983 | } 984 | 985 | .markdown-body g-emoji img { 986 | width: 1em; 987 | height: 1em; 988 | } 989 | 990 | .markdown-body .task-list-item { 991 | list-style-type: none; 992 | } 993 | 994 | .markdown-body .task-list-item label { 995 | font-weight: 400; 996 | } 997 | 998 | .markdown-body .task-list-item.enabled label { 999 | cursor: pointer; 1000 | } 1001 | 1002 | .markdown-body .task-list-item+.task-list-item { 1003 | margin-top: 0.25rem; 1004 | } 1005 | 1006 | .markdown-body .task-list-item .handle { 1007 | display: none; 1008 | } 1009 | 1010 | .markdown-body .task-list-item-checkbox { 1011 | margin: 0 .2em .25em -1.4em; 1012 | vertical-align: middle; 1013 | } 1014 | 1015 | .markdown-body ul:dir(rtl) .task-list-item-checkbox { 1016 | margin: 0 -1.6em .25em .2em; 1017 | } 1018 | 1019 | .markdown-body ol:dir(rtl) .task-list-item-checkbox { 1020 | margin: 0 -1.6em .25em .2em; 1021 | } 1022 | 1023 | .markdown-body .contains-task-list:hover .task-list-item-convert-container, 1024 | .markdown-body .contains-task-list:focus-within .task-list-item-convert-container { 1025 | display: block; 1026 | width: auto; 1027 | height: 24px; 1028 | overflow: visible; 1029 | clip: auto; 1030 | } 1031 | 1032 | .markdown-body ::-webkit-calendar-picker-indicator { 1033 | filter: invert(50%); 1034 | } 1035 | 1036 | .markdown-body .markdown-alert { 1037 | padding: 0.5rem 1rem; 1038 | margin-bottom: 1rem; 1039 | color: inherit; 1040 | border-left: .25em solid #d1d9e0; 1041 | } 1042 | 1043 | .markdown-body .markdown-alert>:first-child { 1044 | margin-top: 0; 1045 | } 1046 | 1047 | .markdown-body .markdown-alert>:last-child { 1048 | margin-bottom: 0; 1049 | } 1050 | 1051 | .markdown-body .markdown-alert .markdown-alert-title { 1052 | display: flex; 1053 | font-weight: 500; 1054 | align-items: center; 1055 | line-height: 1; 1056 | } 1057 | 1058 | .markdown-body .markdown-alert.markdown-alert-note { 1059 | border-left-color: #0969da; 1060 | } 1061 | 1062 | .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title { 1063 | color: #0969da; 1064 | } 1065 | 1066 | .markdown-body .markdown-alert.markdown-alert-important { 1067 | border-left-color: #8250df; 1068 | } 1069 | 1070 | .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title { 1071 | color: #8250df; 1072 | } 1073 | 1074 | .markdown-body .markdown-alert.markdown-alert-warning { 1075 | border-left-color: #9a6700; 1076 | } 1077 | 1078 | .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title { 1079 | color: #9a6700; 1080 | } 1081 | 1082 | .markdown-body .markdown-alert.markdown-alert-tip { 1083 | border-left-color: #1a7f37; 1084 | } 1085 | 1086 | .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title { 1087 | color: #1a7f37; 1088 | } 1089 | 1090 | .markdown-body .markdown-alert.markdown-alert-caution { 1091 | border-left-color: #cf222e; 1092 | } 1093 | 1094 | .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title { 1095 | color: #d1242f; 1096 | } 1097 | 1098 | .markdown-body>*:first-child>.heading-element:first-child { 1099 | margin-top: 0 !important; 1100 | } 1101 | 1102 | .markdown-body .highlight pre:has(+.zeroclipboard-container) { 1103 | min-height: 52px; 1104 | } 1105 | 1106 | -------------------------------------------------------------------------------- /github-markdown.css: -------------------------------------------------------------------------------- 1 | .markdown-body { 2 | --base-size-4: 0.25rem; 3 | --base-size-8: 0.5rem; 4 | --base-size-16: 1rem; 5 | --base-size-24: 1.5rem; 6 | --base-size-40: 2.5rem; 7 | --base-text-weight-normal: 400; 8 | --base-text-weight-medium: 500; 9 | --base-text-weight-semibold: 600; 10 | --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; 11 | --fgColor-accent: Highlight; 12 | } 13 | @media (prefers-color-scheme: dark) { 14 | .markdown-body, [data-theme="dark"] { 15 | /* dark */ 16 | color-scheme: dark; 17 | --focus-outlineColor: #1f6feb; 18 | --fgColor-default: #f0f6fc; 19 | --fgColor-muted: #9198a1; 20 | --fgColor-accent: #4493f8; 21 | --fgColor-success: #3fb950; 22 | --fgColor-attention: #d29922; 23 | --fgColor-danger: #f85149; 24 | --fgColor-done: #ab7df8; 25 | --bgColor-default: #0d1117; 26 | --bgColor-muted: #151b23; 27 | --bgColor-neutral-muted: #656c7633; 28 | --bgColor-attention-muted: #bb800926; 29 | --borderColor-default: #3d444d; 30 | --borderColor-muted: #3d444db3; 31 | --borderColor-neutral-muted: #3d444db3; 32 | --borderColor-accent-emphasis: #1f6feb; 33 | --borderColor-success-emphasis: #238636; 34 | --borderColor-attention-emphasis: #9e6a03; 35 | --borderColor-danger-emphasis: #da3633; 36 | --borderColor-done-emphasis: #8957e5; 37 | --color-prettylights-syntax-comment: #9198a1; 38 | --color-prettylights-syntax-constant: #79c0ff; 39 | --color-prettylights-syntax-constant-other-reference-link: #a5d6ff; 40 | --color-prettylights-syntax-entity: #d2a8ff; 41 | --color-prettylights-syntax-storage-modifier-import: #f0f6fc; 42 | --color-prettylights-syntax-entity-tag: #7ee787; 43 | --color-prettylights-syntax-keyword: #ff7b72; 44 | --color-prettylights-syntax-string: #a5d6ff; 45 | --color-prettylights-syntax-variable: #ffa657; 46 | --color-prettylights-syntax-brackethighlighter-unmatched: #f85149; 47 | --color-prettylights-syntax-brackethighlighter-angle: #9198a1; 48 | --color-prettylights-syntax-invalid-illegal-text: #f0f6fc; 49 | --color-prettylights-syntax-invalid-illegal-bg: #8e1519; 50 | --color-prettylights-syntax-carriage-return-text: #f0f6fc; 51 | --color-prettylights-syntax-carriage-return-bg: #b62324; 52 | --color-prettylights-syntax-string-regexp: #7ee787; 53 | --color-prettylights-syntax-markup-list: #f2cc60; 54 | --color-prettylights-syntax-markup-heading: #1f6feb; 55 | --color-prettylights-syntax-markup-italic: #f0f6fc; 56 | --color-prettylights-syntax-markup-bold: #f0f6fc; 57 | --color-prettylights-syntax-markup-deleted-text: #ffdcd7; 58 | --color-prettylights-syntax-markup-deleted-bg: #67060c; 59 | --color-prettylights-syntax-markup-inserted-text: #aff5b4; 60 | --color-prettylights-syntax-markup-inserted-bg: #033a16; 61 | --color-prettylights-syntax-markup-changed-text: #ffdfb6; 62 | --color-prettylights-syntax-markup-changed-bg: #5a1e02; 63 | --color-prettylights-syntax-markup-ignored-text: #f0f6fc; 64 | --color-prettylights-syntax-markup-ignored-bg: #1158c7; 65 | --color-prettylights-syntax-meta-diff-range: #d2a8ff; 66 | --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d; 67 | } 68 | } 69 | @media (prefers-color-scheme: light) { 70 | .markdown-body, [data-theme="light"] { 71 | /* light */ 72 | color-scheme: light; 73 | --focus-outlineColor: #0969da; 74 | --fgColor-default: #1f2328; 75 | --fgColor-muted: #59636e; 76 | --fgColor-accent: #0969da; 77 | --fgColor-success: #1a7f37; 78 | --fgColor-attention: #9a6700; 79 | --fgColor-danger: #d1242f; 80 | --fgColor-done: #8250df; 81 | --bgColor-default: #ffffff; 82 | --bgColor-muted: #f6f8fa; 83 | --bgColor-neutral-muted: #818b981f; 84 | --bgColor-attention-muted: #fff8c5; 85 | --borderColor-default: #d1d9e0; 86 | --borderColor-muted: #d1d9e0b3; 87 | --borderColor-neutral-muted: #d1d9e0b3; 88 | --borderColor-accent-emphasis: #0969da; 89 | --borderColor-success-emphasis: #1a7f37; 90 | --borderColor-attention-emphasis: #9a6700; 91 | --borderColor-danger-emphasis: #cf222e; 92 | --borderColor-done-emphasis: #8250df; 93 | --color-prettylights-syntax-comment: #59636e; 94 | --color-prettylights-syntax-constant: #0550ae; 95 | --color-prettylights-syntax-constant-other-reference-link: #0a3069; 96 | --color-prettylights-syntax-entity: #6639ba; 97 | --color-prettylights-syntax-storage-modifier-import: #1f2328; 98 | --color-prettylights-syntax-entity-tag: #0550ae; 99 | --color-prettylights-syntax-keyword: #cf222e; 100 | --color-prettylights-syntax-string: #0a3069; 101 | --color-prettylights-syntax-variable: #953800; 102 | --color-prettylights-syntax-brackethighlighter-unmatched: #82071e; 103 | --color-prettylights-syntax-brackethighlighter-angle: #59636e; 104 | --color-prettylights-syntax-invalid-illegal-text: #f6f8fa; 105 | --color-prettylights-syntax-invalid-illegal-bg: #82071e; 106 | --color-prettylights-syntax-carriage-return-text: #f6f8fa; 107 | --color-prettylights-syntax-carriage-return-bg: #cf222e; 108 | --color-prettylights-syntax-string-regexp: #116329; 109 | --color-prettylights-syntax-markup-list: #3b2300; 110 | --color-prettylights-syntax-markup-heading: #0550ae; 111 | --color-prettylights-syntax-markup-italic: #1f2328; 112 | --color-prettylights-syntax-markup-bold: #1f2328; 113 | --color-prettylights-syntax-markup-deleted-text: #82071e; 114 | --color-prettylights-syntax-markup-deleted-bg: #ffebe9; 115 | --color-prettylights-syntax-markup-inserted-text: #116329; 116 | --color-prettylights-syntax-markup-inserted-bg: #dafbe1; 117 | --color-prettylights-syntax-markup-changed-text: #953800; 118 | --color-prettylights-syntax-markup-changed-bg: #ffd8b5; 119 | --color-prettylights-syntax-markup-ignored-text: #d1d9e0; 120 | --color-prettylights-syntax-markup-ignored-bg: #0550ae; 121 | --color-prettylights-syntax-meta-diff-range: #8250df; 122 | --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98; 123 | } 124 | } 125 | 126 | .markdown-body { 127 | -ms-text-size-adjust: 100%; 128 | -webkit-text-size-adjust: 100%; 129 | margin: 0; 130 | color: var(--fgColor-default); 131 | background-color: var(--bgColor-default); 132 | font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; 133 | font-size: 16px; 134 | line-height: 1.5; 135 | word-wrap: break-word; 136 | } 137 | 138 | .markdown-body .octicon { 139 | display: inline-block; 140 | fill: currentColor; 141 | vertical-align: text-bottom; 142 | } 143 | 144 | .markdown-body h1:hover .anchor .octicon-link:before, 145 | .markdown-body h2:hover .anchor .octicon-link:before, 146 | .markdown-body h3:hover .anchor .octicon-link:before, 147 | .markdown-body h4:hover .anchor .octicon-link:before, 148 | .markdown-body h5:hover .anchor .octicon-link:before, 149 | .markdown-body h6:hover .anchor .octicon-link:before { 150 | width: 16px; 151 | height: 16px; 152 | content: ' '; 153 | display: inline-block; 154 | background-color: currentColor; 155 | -webkit-mask-image: url("data:image/svg+xml,"); 156 | mask-image: url("data:image/svg+xml,"); 157 | } 158 | 159 | .markdown-body details, 160 | .markdown-body figcaption, 161 | .markdown-body figure { 162 | display: block; 163 | } 164 | 165 | .markdown-body summary { 166 | display: list-item; 167 | } 168 | 169 | .markdown-body [hidden] { 170 | display: none !important; 171 | } 172 | 173 | .markdown-body a { 174 | background-color: transparent; 175 | color: var(--fgColor-accent); 176 | text-decoration: none; 177 | } 178 | 179 | .markdown-body abbr[title] { 180 | border-bottom: none; 181 | -webkit-text-decoration: underline dotted; 182 | text-decoration: underline dotted; 183 | } 184 | 185 | .markdown-body b, 186 | .markdown-body strong { 187 | font-weight: var(--base-text-weight-semibold, 600); 188 | } 189 | 190 | .markdown-body dfn { 191 | font-style: italic; 192 | } 193 | 194 | .markdown-body h1 { 195 | margin: .67em 0; 196 | font-weight: var(--base-text-weight-semibold, 600); 197 | padding-bottom: .3em; 198 | font-size: 2em; 199 | border-bottom: 1px solid var(--borderColor-muted); 200 | } 201 | 202 | .markdown-body mark { 203 | background-color: var(--bgColor-attention-muted); 204 | color: var(--fgColor-default); 205 | } 206 | 207 | .markdown-body small { 208 | font-size: 90%; 209 | } 210 | 211 | .markdown-body sub, 212 | .markdown-body sup { 213 | font-size: 75%; 214 | line-height: 0; 215 | position: relative; 216 | vertical-align: baseline; 217 | } 218 | 219 | .markdown-body sub { 220 | bottom: -0.25em; 221 | } 222 | 223 | .markdown-body sup { 224 | top: -0.5em; 225 | } 226 | 227 | .markdown-body img { 228 | border-style: none; 229 | max-width: 100%; 230 | box-sizing: content-box; 231 | } 232 | 233 | .markdown-body code, 234 | .markdown-body kbd, 235 | .markdown-body pre, 236 | .markdown-body samp { 237 | font-family: monospace; 238 | font-size: 1em; 239 | } 240 | 241 | .markdown-body figure { 242 | margin: 1em var(--base-size-40); 243 | } 244 | 245 | .markdown-body hr { 246 | box-sizing: content-box; 247 | overflow: hidden; 248 | background: transparent; 249 | border-bottom: 1px solid var(--borderColor-muted); 250 | height: .25em; 251 | padding: 0; 252 | margin: var(--base-size-24) 0; 253 | background-color: var(--borderColor-default); 254 | border: 0; 255 | } 256 | 257 | .markdown-body input { 258 | font: inherit; 259 | margin: 0; 260 | overflow: visible; 261 | font-family: inherit; 262 | font-size: inherit; 263 | line-height: inherit; 264 | } 265 | 266 | .markdown-body [type=button], 267 | .markdown-body [type=reset], 268 | .markdown-body [type=submit] { 269 | -webkit-appearance: button; 270 | appearance: button; 271 | } 272 | 273 | .markdown-body [type=checkbox], 274 | .markdown-body [type=radio] { 275 | box-sizing: border-box; 276 | padding: 0; 277 | } 278 | 279 | .markdown-body [type=number]::-webkit-inner-spin-button, 280 | .markdown-body [type=number]::-webkit-outer-spin-button { 281 | height: auto; 282 | } 283 | 284 | .markdown-body [type=search]::-webkit-search-cancel-button, 285 | .markdown-body [type=search]::-webkit-search-decoration { 286 | -webkit-appearance: none; 287 | appearance: none; 288 | } 289 | 290 | .markdown-body ::-webkit-input-placeholder { 291 | color: inherit; 292 | opacity: .54; 293 | } 294 | 295 | .markdown-body ::-webkit-file-upload-button { 296 | -webkit-appearance: button; 297 | appearance: button; 298 | font: inherit; 299 | } 300 | 301 | .markdown-body a:hover { 302 | text-decoration: underline; 303 | } 304 | 305 | .markdown-body ::placeholder { 306 | color: var(--fgColor-muted); 307 | opacity: 1; 308 | } 309 | 310 | .markdown-body hr::before { 311 | display: table; 312 | content: ""; 313 | } 314 | 315 | .markdown-body hr::after { 316 | display: table; 317 | clear: both; 318 | content: ""; 319 | } 320 | 321 | .markdown-body table { 322 | border-spacing: 0; 323 | border-collapse: collapse; 324 | display: block; 325 | width: max-content; 326 | max-width: 100%; 327 | overflow: auto; 328 | font-variant: tabular-nums; 329 | } 330 | 331 | .markdown-body td, 332 | .markdown-body th { 333 | padding: 0; 334 | } 335 | 336 | .markdown-body details summary { 337 | cursor: pointer; 338 | } 339 | 340 | .markdown-body a:focus, 341 | .markdown-body [role=button]:focus, 342 | .markdown-body input[type=radio]:focus, 343 | .markdown-body input[type=checkbox]:focus { 344 | outline: 2px solid var(--focus-outlineColor); 345 | outline-offset: -2px; 346 | box-shadow: none; 347 | } 348 | 349 | .markdown-body a:focus:not(:focus-visible), 350 | .markdown-body [role=button]:focus:not(:focus-visible), 351 | .markdown-body input[type=radio]:focus:not(:focus-visible), 352 | .markdown-body input[type=checkbox]:focus:not(:focus-visible) { 353 | outline: solid 1px transparent; 354 | } 355 | 356 | .markdown-body a:focus-visible, 357 | .markdown-body [role=button]:focus-visible, 358 | .markdown-body input[type=radio]:focus-visible, 359 | .markdown-body input[type=checkbox]:focus-visible { 360 | outline: 2px solid var(--focus-outlineColor); 361 | outline-offset: -2px; 362 | box-shadow: none; 363 | } 364 | 365 | .markdown-body a:not([class]):focus, 366 | .markdown-body a:not([class]):focus-visible, 367 | .markdown-body input[type=radio]:focus, 368 | .markdown-body input[type=radio]:focus-visible, 369 | .markdown-body input[type=checkbox]:focus, 370 | .markdown-body input[type=checkbox]:focus-visible { 371 | outline-offset: 0; 372 | } 373 | 374 | .markdown-body kbd { 375 | display: inline-block; 376 | padding: var(--base-size-4); 377 | font: 11px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); 378 | line-height: 10px; 379 | color: var(--fgColor-default); 380 | vertical-align: middle; 381 | background-color: var(--bgColor-muted); 382 | border: solid 1px var(--borderColor-neutral-muted); 383 | border-bottom-color: var(--borderColor-neutral-muted); 384 | border-radius: 6px; 385 | box-shadow: inset 0 -1px 0 var(--borderColor-neutral-muted); 386 | } 387 | 388 | .markdown-body h1, 389 | .markdown-body h2, 390 | .markdown-body h3, 391 | .markdown-body h4, 392 | .markdown-body h5, 393 | .markdown-body h6 { 394 | margin-top: var(--base-size-24); 395 | margin-bottom: var(--base-size-16); 396 | font-weight: var(--base-text-weight-semibold, 600); 397 | line-height: 1.25; 398 | } 399 | 400 | .markdown-body h2 { 401 | font-weight: var(--base-text-weight-semibold, 600); 402 | padding-bottom: .3em; 403 | font-size: 1.5em; 404 | border-bottom: 1px solid var(--borderColor-muted); 405 | } 406 | 407 | .markdown-body h3 { 408 | font-weight: var(--base-text-weight-semibold, 600); 409 | font-size: 1.25em; 410 | } 411 | 412 | .markdown-body h4 { 413 | font-weight: var(--base-text-weight-semibold, 600); 414 | font-size: 1em; 415 | } 416 | 417 | .markdown-body h5 { 418 | font-weight: var(--base-text-weight-semibold, 600); 419 | font-size: .875em; 420 | } 421 | 422 | .markdown-body h6 { 423 | font-weight: var(--base-text-weight-semibold, 600); 424 | font-size: .85em; 425 | color: var(--fgColor-muted); 426 | } 427 | 428 | .markdown-body p { 429 | margin-top: 0; 430 | margin-bottom: 10px; 431 | } 432 | 433 | .markdown-body blockquote { 434 | margin: 0; 435 | padding: 0 1em; 436 | color: var(--fgColor-muted); 437 | border-left: .25em solid var(--borderColor-default); 438 | } 439 | 440 | .markdown-body ul, 441 | .markdown-body ol { 442 | margin-top: 0; 443 | margin-bottom: 0; 444 | padding-left: 2em; 445 | } 446 | 447 | .markdown-body ol ol, 448 | .markdown-body ul ol { 449 | list-style-type: lower-roman; 450 | } 451 | 452 | .markdown-body ul ul ol, 453 | .markdown-body ul ol ol, 454 | .markdown-body ol ul ol, 455 | .markdown-body ol ol ol { 456 | list-style-type: lower-alpha; 457 | } 458 | 459 | .markdown-body dd { 460 | margin-left: 0; 461 | } 462 | 463 | .markdown-body tt, 464 | .markdown-body code, 465 | .markdown-body samp { 466 | font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); 467 | font-size: 12px; 468 | } 469 | 470 | .markdown-body pre { 471 | margin-top: 0; 472 | margin-bottom: 0; 473 | font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); 474 | font-size: 12px; 475 | word-wrap: normal; 476 | } 477 | 478 | .markdown-body .octicon { 479 | display: inline-block; 480 | overflow: visible !important; 481 | vertical-align: text-bottom; 482 | fill: currentColor; 483 | } 484 | 485 | .markdown-body input::-webkit-outer-spin-button, 486 | .markdown-body input::-webkit-inner-spin-button { 487 | margin: 0; 488 | appearance: none; 489 | } 490 | 491 | .markdown-body .mr-2 { 492 | margin-right: var(--base-size-8, 8px) !important; 493 | } 494 | 495 | .markdown-body::before { 496 | display: table; 497 | content: ""; 498 | } 499 | 500 | .markdown-body::after { 501 | display: table; 502 | clear: both; 503 | content: ""; 504 | } 505 | 506 | .markdown-body>*:first-child { 507 | margin-top: 0 !important; 508 | } 509 | 510 | .markdown-body>*:last-child { 511 | margin-bottom: 0 !important; 512 | } 513 | 514 | .markdown-body a:not([href]) { 515 | color: inherit; 516 | text-decoration: none; 517 | } 518 | 519 | .markdown-body .absent { 520 | color: var(--fgColor-danger); 521 | } 522 | 523 | .markdown-body .anchor { 524 | float: left; 525 | padding-right: var(--base-size-4); 526 | margin-left: -20px; 527 | line-height: 1; 528 | } 529 | 530 | .markdown-body .anchor:focus { 531 | outline: none; 532 | } 533 | 534 | .markdown-body p, 535 | .markdown-body blockquote, 536 | .markdown-body ul, 537 | .markdown-body ol, 538 | .markdown-body dl, 539 | .markdown-body table, 540 | .markdown-body pre, 541 | .markdown-body details { 542 | margin-top: 0; 543 | margin-bottom: var(--base-size-16); 544 | } 545 | 546 | .markdown-body blockquote>:first-child { 547 | margin-top: 0; 548 | } 549 | 550 | .markdown-body blockquote>:last-child { 551 | margin-bottom: 0; 552 | } 553 | 554 | .markdown-body h1 .octicon-link, 555 | .markdown-body h2 .octicon-link, 556 | .markdown-body h3 .octicon-link, 557 | .markdown-body h4 .octicon-link, 558 | .markdown-body h5 .octicon-link, 559 | .markdown-body h6 .octicon-link { 560 | color: var(--fgColor-default); 561 | vertical-align: middle; 562 | visibility: hidden; 563 | } 564 | 565 | .markdown-body h1:hover .anchor, 566 | .markdown-body h2:hover .anchor, 567 | .markdown-body h3:hover .anchor, 568 | .markdown-body h4:hover .anchor, 569 | .markdown-body h5:hover .anchor, 570 | .markdown-body h6:hover .anchor { 571 | text-decoration: none; 572 | } 573 | 574 | .markdown-body h1:hover .anchor .octicon-link, 575 | .markdown-body h2:hover .anchor .octicon-link, 576 | .markdown-body h3:hover .anchor .octicon-link, 577 | .markdown-body h4:hover .anchor .octicon-link, 578 | .markdown-body h5:hover .anchor .octicon-link, 579 | .markdown-body h6:hover .anchor .octicon-link { 580 | visibility: visible; 581 | } 582 | 583 | .markdown-body h1 tt, 584 | .markdown-body h1 code, 585 | .markdown-body h2 tt, 586 | .markdown-body h2 code, 587 | .markdown-body h3 tt, 588 | .markdown-body h3 code, 589 | .markdown-body h4 tt, 590 | .markdown-body h4 code, 591 | .markdown-body h5 tt, 592 | .markdown-body h5 code, 593 | .markdown-body h6 tt, 594 | .markdown-body h6 code { 595 | padding: 0 .2em; 596 | font-size: inherit; 597 | } 598 | 599 | .markdown-body summary h1, 600 | .markdown-body summary h2, 601 | .markdown-body summary h3, 602 | .markdown-body summary h4, 603 | .markdown-body summary h5, 604 | .markdown-body summary h6 { 605 | display: inline-block; 606 | } 607 | 608 | .markdown-body summary h1 .anchor, 609 | .markdown-body summary h2 .anchor, 610 | .markdown-body summary h3 .anchor, 611 | .markdown-body summary h4 .anchor, 612 | .markdown-body summary h5 .anchor, 613 | .markdown-body summary h6 .anchor { 614 | margin-left: -40px; 615 | } 616 | 617 | .markdown-body summary h1, 618 | .markdown-body summary h2 { 619 | padding-bottom: 0; 620 | border-bottom: 0; 621 | } 622 | 623 | .markdown-body ul.no-list, 624 | .markdown-body ol.no-list { 625 | padding: 0; 626 | list-style-type: none; 627 | } 628 | 629 | .markdown-body ol[type="a s"] { 630 | list-style-type: lower-alpha; 631 | } 632 | 633 | .markdown-body ol[type="A s"] { 634 | list-style-type: upper-alpha; 635 | } 636 | 637 | .markdown-body ol[type="i s"] { 638 | list-style-type: lower-roman; 639 | } 640 | 641 | .markdown-body ol[type="I s"] { 642 | list-style-type: upper-roman; 643 | } 644 | 645 | .markdown-body ol[type="1"] { 646 | list-style-type: decimal; 647 | } 648 | 649 | .markdown-body div>ol:not([type]) { 650 | list-style-type: decimal; 651 | } 652 | 653 | .markdown-body ul ul, 654 | .markdown-body ul ol, 655 | .markdown-body ol ol, 656 | .markdown-body ol ul { 657 | margin-top: 0; 658 | margin-bottom: 0; 659 | } 660 | 661 | .markdown-body li>p { 662 | margin-top: var(--base-size-16); 663 | } 664 | 665 | .markdown-body li+li { 666 | margin-top: .25em; 667 | } 668 | 669 | .markdown-body dl { 670 | padding: 0; 671 | } 672 | 673 | .markdown-body dl dt { 674 | padding: 0; 675 | margin-top: var(--base-size-16); 676 | font-size: 1em; 677 | font-style: italic; 678 | font-weight: var(--base-text-weight-semibold, 600); 679 | } 680 | 681 | .markdown-body dl dd { 682 | padding: 0 var(--base-size-16); 683 | margin-bottom: var(--base-size-16); 684 | } 685 | 686 | .markdown-body table th { 687 | font-weight: var(--base-text-weight-semibold, 600); 688 | } 689 | 690 | .markdown-body table th, 691 | .markdown-body table td { 692 | padding: 6px 13px; 693 | border: 1px solid var(--borderColor-default); 694 | } 695 | 696 | .markdown-body table td>:last-child { 697 | margin-bottom: 0; 698 | } 699 | 700 | .markdown-body table tr { 701 | background-color: var(--bgColor-default); 702 | border-top: 1px solid var(--borderColor-muted); 703 | } 704 | 705 | .markdown-body table tr:nth-child(2n) { 706 | background-color: var(--bgColor-muted); 707 | } 708 | 709 | .markdown-body table img { 710 | background-color: transparent; 711 | } 712 | 713 | .markdown-body img[align=right] { 714 | padding-left: 20px; 715 | } 716 | 717 | .markdown-body img[align=left] { 718 | padding-right: 20px; 719 | } 720 | 721 | .markdown-body .emoji { 722 | max-width: none; 723 | vertical-align: text-top; 724 | background-color: transparent; 725 | } 726 | 727 | .markdown-body span.frame { 728 | display: block; 729 | overflow: hidden; 730 | } 731 | 732 | .markdown-body span.frame>span { 733 | display: block; 734 | float: left; 735 | width: auto; 736 | padding: 7px; 737 | margin: 13px 0 0; 738 | overflow: hidden; 739 | border: 1px solid var(--borderColor-default); 740 | } 741 | 742 | .markdown-body span.frame span img { 743 | display: block; 744 | float: left; 745 | } 746 | 747 | .markdown-body span.frame span span { 748 | display: block; 749 | padding: 5px 0 0; 750 | clear: both; 751 | color: var(--fgColor-default); 752 | } 753 | 754 | .markdown-body span.align-center { 755 | display: block; 756 | overflow: hidden; 757 | clear: both; 758 | } 759 | 760 | .markdown-body span.align-center>span { 761 | display: block; 762 | margin: 13px auto 0; 763 | overflow: hidden; 764 | text-align: center; 765 | } 766 | 767 | .markdown-body span.align-center span img { 768 | margin: 0 auto; 769 | text-align: center; 770 | } 771 | 772 | .markdown-body span.align-right { 773 | display: block; 774 | overflow: hidden; 775 | clear: both; 776 | } 777 | 778 | .markdown-body span.align-right>span { 779 | display: block; 780 | margin: 13px 0 0; 781 | overflow: hidden; 782 | text-align: right; 783 | } 784 | 785 | .markdown-body span.align-right span img { 786 | margin: 0; 787 | text-align: right; 788 | } 789 | 790 | .markdown-body span.float-left { 791 | display: block; 792 | float: left; 793 | margin-right: 13px; 794 | overflow: hidden; 795 | } 796 | 797 | .markdown-body span.float-left span { 798 | margin: 13px 0 0; 799 | } 800 | 801 | .markdown-body span.float-right { 802 | display: block; 803 | float: right; 804 | margin-left: 13px; 805 | overflow: hidden; 806 | } 807 | 808 | .markdown-body span.float-right>span { 809 | display: block; 810 | margin: 13px auto 0; 811 | overflow: hidden; 812 | text-align: right; 813 | } 814 | 815 | .markdown-body code, 816 | .markdown-body tt { 817 | padding: .2em .4em; 818 | margin: 0; 819 | font-size: 85%; 820 | white-space: break-spaces; 821 | background-color: var(--bgColor-neutral-muted); 822 | border-radius: 6px; 823 | } 824 | 825 | .markdown-body code br, 826 | .markdown-body tt br { 827 | display: none; 828 | } 829 | 830 | .markdown-body del code { 831 | text-decoration: inherit; 832 | } 833 | 834 | .markdown-body samp { 835 | font-size: 85%; 836 | } 837 | 838 | .markdown-body pre code { 839 | font-size: 100%; 840 | } 841 | 842 | .markdown-body pre>code { 843 | padding: 0; 844 | margin: 0; 845 | word-break: normal; 846 | white-space: pre; 847 | background: transparent; 848 | border: 0; 849 | } 850 | 851 | .markdown-body .highlight { 852 | margin-bottom: var(--base-size-16); 853 | } 854 | 855 | .markdown-body .highlight pre { 856 | margin-bottom: 0; 857 | word-break: normal; 858 | } 859 | 860 | .markdown-body .highlight pre, 861 | .markdown-body pre { 862 | padding: var(--base-size-16); 863 | overflow: auto; 864 | font-size: 85%; 865 | line-height: 1.45; 866 | color: var(--fgColor-default); 867 | background-color: var(--bgColor-muted); 868 | border-radius: 6px; 869 | } 870 | 871 | .markdown-body pre code, 872 | .markdown-body pre tt { 873 | display: inline; 874 | max-width: auto; 875 | padding: 0; 876 | margin: 0; 877 | overflow: visible; 878 | line-height: inherit; 879 | word-wrap: normal; 880 | background-color: transparent; 881 | border: 0; 882 | } 883 | 884 | .markdown-body .csv-data td, 885 | .markdown-body .csv-data th { 886 | padding: 5px; 887 | overflow: hidden; 888 | font-size: 12px; 889 | line-height: 1; 890 | text-align: left; 891 | white-space: nowrap; 892 | } 893 | 894 | .markdown-body .csv-data .blob-num { 895 | padding: 10px var(--base-size-8) 9px; 896 | text-align: right; 897 | background: var(--bgColor-default); 898 | border: 0; 899 | } 900 | 901 | .markdown-body .csv-data tr { 902 | border-top: 0; 903 | } 904 | 905 | .markdown-body .csv-data th { 906 | font-weight: var(--base-text-weight-semibold, 600); 907 | background: var(--bgColor-muted); 908 | border-top: 0; 909 | } 910 | 911 | .markdown-body [data-footnote-ref]::before { 912 | content: "["; 913 | } 914 | 915 | .markdown-body [data-footnote-ref]::after { 916 | content: "]"; 917 | } 918 | 919 | .markdown-body .footnotes { 920 | font-size: 12px; 921 | color: var(--fgColor-muted); 922 | border-top: 1px solid var(--borderColor-default); 923 | } 924 | 925 | .markdown-body .footnotes ol { 926 | padding-left: var(--base-size-16); 927 | } 928 | 929 | .markdown-body .footnotes ol ul { 930 | display: inline-block; 931 | padding-left: var(--base-size-16); 932 | margin-top: var(--base-size-16); 933 | } 934 | 935 | .markdown-body .footnotes li { 936 | position: relative; 937 | } 938 | 939 | .markdown-body .footnotes li:target::before { 940 | position: absolute; 941 | top: calc(var(--base-size-8)*-1); 942 | right: calc(var(--base-size-8)*-1); 943 | bottom: calc(var(--base-size-8)*-1); 944 | left: calc(var(--base-size-24)*-1); 945 | pointer-events: none; 946 | content: ""; 947 | border: 2px solid var(--borderColor-accent-emphasis); 948 | border-radius: 6px; 949 | } 950 | 951 | .markdown-body .footnotes li:target { 952 | color: var(--fgColor-default); 953 | } 954 | 955 | .markdown-body .footnotes .data-footnote-backref g-emoji { 956 | font-family: monospace; 957 | } 958 | 959 | .markdown-body body:has(:modal) { 960 | padding-right: var(--dialog-scrollgutter) !important; 961 | } 962 | 963 | .markdown-body .pl-c { 964 | color: var(--color-prettylights-syntax-comment); 965 | } 966 | 967 | .markdown-body .pl-c1, 968 | .markdown-body .pl-s .pl-v { 969 | color: var(--color-prettylights-syntax-constant); 970 | } 971 | 972 | .markdown-body .pl-e, 973 | .markdown-body .pl-en { 974 | color: var(--color-prettylights-syntax-entity); 975 | } 976 | 977 | .markdown-body .pl-smi, 978 | .markdown-body .pl-s .pl-s1 { 979 | color: var(--color-prettylights-syntax-storage-modifier-import); 980 | } 981 | 982 | .markdown-body .pl-ent { 983 | color: var(--color-prettylights-syntax-entity-tag); 984 | } 985 | 986 | .markdown-body .pl-k { 987 | color: var(--color-prettylights-syntax-keyword); 988 | } 989 | 990 | .markdown-body .pl-s, 991 | .markdown-body .pl-pds, 992 | .markdown-body .pl-s .pl-pse .pl-s1, 993 | .markdown-body .pl-sr, 994 | .markdown-body .pl-sr .pl-cce, 995 | .markdown-body .pl-sr .pl-sre, 996 | .markdown-body .pl-sr .pl-sra { 997 | color: var(--color-prettylights-syntax-string); 998 | } 999 | 1000 | .markdown-body .pl-v, 1001 | .markdown-body .pl-smw { 1002 | color: var(--color-prettylights-syntax-variable); 1003 | } 1004 | 1005 | .markdown-body .pl-bu { 1006 | color: var(--color-prettylights-syntax-brackethighlighter-unmatched); 1007 | } 1008 | 1009 | .markdown-body .pl-ii { 1010 | color: var(--color-prettylights-syntax-invalid-illegal-text); 1011 | background-color: var(--color-prettylights-syntax-invalid-illegal-bg); 1012 | } 1013 | 1014 | .markdown-body .pl-c2 { 1015 | color: var(--color-prettylights-syntax-carriage-return-text); 1016 | background-color: var(--color-prettylights-syntax-carriage-return-bg); 1017 | } 1018 | 1019 | .markdown-body .pl-sr .pl-cce { 1020 | font-weight: bold; 1021 | color: var(--color-prettylights-syntax-string-regexp); 1022 | } 1023 | 1024 | .markdown-body .pl-ml { 1025 | color: var(--color-prettylights-syntax-markup-list); 1026 | } 1027 | 1028 | .markdown-body .pl-mh, 1029 | .markdown-body .pl-mh .pl-en, 1030 | .markdown-body .pl-ms { 1031 | font-weight: bold; 1032 | color: var(--color-prettylights-syntax-markup-heading); 1033 | } 1034 | 1035 | .markdown-body .pl-mi { 1036 | font-style: italic; 1037 | color: var(--color-prettylights-syntax-markup-italic); 1038 | } 1039 | 1040 | .markdown-body .pl-mb { 1041 | font-weight: bold; 1042 | color: var(--color-prettylights-syntax-markup-bold); 1043 | } 1044 | 1045 | .markdown-body .pl-md { 1046 | color: var(--color-prettylights-syntax-markup-deleted-text); 1047 | background-color: var(--color-prettylights-syntax-markup-deleted-bg); 1048 | } 1049 | 1050 | .markdown-body .pl-mi1 { 1051 | color: var(--color-prettylights-syntax-markup-inserted-text); 1052 | background-color: var(--color-prettylights-syntax-markup-inserted-bg); 1053 | } 1054 | 1055 | .markdown-body .pl-mc { 1056 | color: var(--color-prettylights-syntax-markup-changed-text); 1057 | background-color: var(--color-prettylights-syntax-markup-changed-bg); 1058 | } 1059 | 1060 | .markdown-body .pl-mi2 { 1061 | color: var(--color-prettylights-syntax-markup-ignored-text); 1062 | background-color: var(--color-prettylights-syntax-markup-ignored-bg); 1063 | } 1064 | 1065 | .markdown-body .pl-mdr { 1066 | font-weight: bold; 1067 | color: var(--color-prettylights-syntax-meta-diff-range); 1068 | } 1069 | 1070 | .markdown-body .pl-ba { 1071 | color: var(--color-prettylights-syntax-brackethighlighter-angle); 1072 | } 1073 | 1074 | .markdown-body .pl-sg { 1075 | color: var(--color-prettylights-syntax-sublimelinter-gutter-mark); 1076 | } 1077 | 1078 | .markdown-body .pl-corl { 1079 | text-decoration: underline; 1080 | color: var(--color-prettylights-syntax-constant-other-reference-link); 1081 | } 1082 | 1083 | .markdown-body [role=button]:focus:not(:focus-visible), 1084 | .markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible), 1085 | .markdown-body button:focus:not(:focus-visible), 1086 | .markdown-body summary:focus:not(:focus-visible), 1087 | .markdown-body a:focus:not(:focus-visible) { 1088 | outline: none; 1089 | box-shadow: none; 1090 | } 1091 | 1092 | .markdown-body [tabindex="0"]:focus:not(:focus-visible), 1093 | .markdown-body details-dialog:focus:not(:focus-visible) { 1094 | outline: none; 1095 | } 1096 | 1097 | .markdown-body g-emoji { 1098 | display: inline-block; 1099 | min-width: 1ch; 1100 | font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; 1101 | font-size: 1em; 1102 | font-style: normal !important; 1103 | font-weight: var(--base-text-weight-normal, 400); 1104 | line-height: 1; 1105 | vertical-align: -0.075em; 1106 | } 1107 | 1108 | .markdown-body g-emoji img { 1109 | width: 1em; 1110 | height: 1em; 1111 | } 1112 | 1113 | .markdown-body .task-list-item { 1114 | list-style-type: none; 1115 | } 1116 | 1117 | .markdown-body .task-list-item label { 1118 | font-weight: var(--base-text-weight-normal, 400); 1119 | } 1120 | 1121 | .markdown-body .task-list-item.enabled label { 1122 | cursor: pointer; 1123 | } 1124 | 1125 | .markdown-body .task-list-item+.task-list-item { 1126 | margin-top: var(--base-size-4); 1127 | } 1128 | 1129 | .markdown-body .task-list-item .handle { 1130 | display: none; 1131 | } 1132 | 1133 | .markdown-body .task-list-item-checkbox { 1134 | margin: 0 .2em .25em -1.4em; 1135 | vertical-align: middle; 1136 | } 1137 | 1138 | .markdown-body ul:dir(rtl) .task-list-item-checkbox { 1139 | margin: 0 -1.6em .25em .2em; 1140 | } 1141 | 1142 | .markdown-body ol:dir(rtl) .task-list-item-checkbox { 1143 | margin: 0 -1.6em .25em .2em; 1144 | } 1145 | 1146 | .markdown-body .contains-task-list:hover .task-list-item-convert-container, 1147 | .markdown-body .contains-task-list:focus-within .task-list-item-convert-container { 1148 | display: block; 1149 | width: auto; 1150 | height: 24px; 1151 | overflow: visible; 1152 | clip: auto; 1153 | } 1154 | 1155 | .markdown-body ::-webkit-calendar-picker-indicator { 1156 | filter: invert(50%); 1157 | } 1158 | 1159 | .markdown-body .markdown-alert { 1160 | padding: var(--base-size-8) var(--base-size-16); 1161 | margin-bottom: var(--base-size-16); 1162 | color: inherit; 1163 | border-left: .25em solid var(--borderColor-default); 1164 | } 1165 | 1166 | .markdown-body .markdown-alert>:first-child { 1167 | margin-top: 0; 1168 | } 1169 | 1170 | .markdown-body .markdown-alert>:last-child { 1171 | margin-bottom: 0; 1172 | } 1173 | 1174 | .markdown-body .markdown-alert .markdown-alert-title { 1175 | display: flex; 1176 | font-weight: var(--base-text-weight-medium, 500); 1177 | align-items: center; 1178 | line-height: 1; 1179 | } 1180 | 1181 | .markdown-body .markdown-alert.markdown-alert-note { 1182 | border-left-color: var(--borderColor-accent-emphasis); 1183 | } 1184 | 1185 | .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title { 1186 | color: var(--fgColor-accent); 1187 | } 1188 | 1189 | .markdown-body .markdown-alert.markdown-alert-important { 1190 | border-left-color: var(--borderColor-done-emphasis); 1191 | } 1192 | 1193 | .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title { 1194 | color: var(--fgColor-done); 1195 | } 1196 | 1197 | .markdown-body .markdown-alert.markdown-alert-warning { 1198 | border-left-color: var(--borderColor-attention-emphasis); 1199 | } 1200 | 1201 | .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title { 1202 | color: var(--fgColor-attention); 1203 | } 1204 | 1205 | .markdown-body .markdown-alert.markdown-alert-tip { 1206 | border-left-color: var(--borderColor-success-emphasis); 1207 | } 1208 | 1209 | .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title { 1210 | color: var(--fgColor-success); 1211 | } 1212 | 1213 | .markdown-body .markdown-alert.markdown-alert-caution { 1214 | border-left-color: var(--borderColor-danger-emphasis); 1215 | } 1216 | 1217 | .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title { 1218 | color: var(--fgColor-danger); 1219 | } 1220 | 1221 | .markdown-body>*:first-child>.heading-element:first-child { 1222 | margin-top: 0 !important; 1223 | } 1224 | 1225 | .markdown-body .highlight pre:has(+.zeroclipboard-container) { 1226 | min-height: 52px; 1227 | } 1228 | 1229 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | GitHub Markdown CSS demo 7 | 8 | 9 | 24 | 25 | 30 | 31 | 32 |
33 |

GitHub Markdown CSS demo

34 | 35 |

36 | 37 |

Headers

38 | 39 |
# H1
  40 | ## H2
  41 | ### H3
  42 | #### H4
  43 | ##### H5
  44 | ###### H6
  45 | 
  46 | Alternatively, for H1 and H2, an underline-ish style:
  47 | 
  48 | Alt-H1
  49 | ======
  50 | 
  51 | Alt-H2
  52 | ------
  53 | 
54 | 55 |

H1

56 | 57 |

H2

58 | 59 |

H3

60 | 61 |

H4

62 | 63 |
H5
64 | 65 |
H6
66 | 67 |

Alternatively, for H1 and H2, an underline-ish style:

68 | 69 |

Alt-H1

70 | 71 |

Alt-H2

72 | 73 |

74 | 75 |

Emphasis

76 | 77 |
Emphasis, aka italics, with *asterisks* or _underscores_.
  78 | 
  79 | Strong emphasis, aka bold, with **asterisks** or __underscores__.
  80 | 
  81 | Combined emphasis with **asterisks and _underscores_**.
  82 | 
  83 | Strikethrough uses two tildes. ~~Scratch this.~~
  84 | 
85 | 86 |

Emphasis, aka italics, with asterisks or underscores.

87 | 88 |

Strong emphasis, aka bold, with asterisks or underscores.

89 | 90 |

Combined emphasis with asterisks and underscores.

91 | 92 |

Strikethrough uses two tildes. Scratch this.

93 | 94 |

95 | 96 |

Lists

97 | 98 |

(In this example, leading and trailing spaces are shown with with dots: ⋅)

99 | 100 |
1. First ordered list item
 101 | 2. Another item
 102 | ⋅⋅* Unordered sub-list.
 103 | 1. Actual numbers don't matter, just that it's a number
 104 | ⋅⋅1. Ordered sub-list
 105 | 4. And another item.
 106 | 
 107 | ⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).
 108 | 
 109 | ⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅
 110 | ⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅
 111 | ⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
 112 | 
 113 | * Unordered list can use asterisks
 114 | - Or minuses
 115 | + Or pluses
 116 | 
117 | 118 |
    119 |
  1. First ordered list item
  2. 120 |
  3. Another item 121 | 122 |
      123 |
    • Unordered sub-list.
    • 124 |
  4. 125 |
  5. Actual numbers don't matter, just that it's a number 126 | 127 |
      128 |
    1. Ordered sub-list
    2. 129 |
  6. 130 |
  7. And another item.

    131 | 132 |

    You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).

    133 | 134 |

    To have a line break without a paragraph, you will need to use two trailing spaces. 135 | Note that this line is separate, but within the same paragraph. 136 | (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)

  8. 137 |
138 | 139 | 144 | 145 |
    146 |
  1. foo 147 | 148 |
      149 |
    1. bar 150 | 151 |
        152 |
      1. baz 153 | 154 |
          155 |
        1. faz
        2. 156 |
      2. 157 |
    2. 158 |
  2. 159 |
  3. foo2

  4. 160 |
161 | 162 | 178 | 179 |
    180 |
  1. foo

    181 | 182 |
      183 |
    • bar 184 | 185 |
        186 |
      1. baz 187 | 188 |
          189 |
        • faz
        • 190 |
      2. 191 |
    • 192 |
  2. 193 |
194 | 195 | 210 | 211 |
    212 |
  1. Lists in a list item: 213 | 214 |
      215 |
    • Indented four spaces. 216 | 217 |
        218 |
      • indented eight spaces.
      • 219 |
    • 220 |
    • Four spaces again.
    • 221 |
  2. 222 |
  3. Multiple paragraphs in a list items: 223 | It's best to indent the paragraphs four spaces 224 | You can get away with three, but it can get 225 | confusing when you nest other things. 226 | Stick to four.

    227 | 228 |

    We indented the first line an extra space to align 229 | it with these paragraphs. In real use, we might do 230 | that to the entire list so that all items line up.

    231 | 232 |

    This paragraph is still part of the list item, but it looks messy to humans. So it's a good idea to wrap your nested paragraphs manually, as we did with the first two.

  4. 233 |
  5. Blockquotes in a list item:

    234 | 235 |
    236 |

    Skip a line and 237 | indent the >'s four spaces.

    238 |
  6. 239 |
  7. Preformatted text in a list item:

    240 | 241 |
    Skip a line and indent eight spaces.
     242 | That's four spaces for the list
     243 | and four to trigger the code block.
     244 | 
  8. 245 |
246 | 247 |

Inline HTML

248 | 249 |

To reboot your computer, press ctrl+alt+del.

250 | 251 |

252 | 253 |

Links

254 | 255 |

There are two ways to create links.

256 | 257 |
[I'm an inline-style link](https://www.google.com)
 258 | 
 259 | [I'm an inline-style link with title](https://www.google.com "Google's Homepage")
 260 | 
 261 | [I'm a reference-style link][Arbitrary case-insensitive reference text]
 262 | 
 263 | [I'm a relative reference to a repository file](../blob/master/LICENSE)
 264 | 
 265 | [You can use numbers for reference-style link definitions][1]
 266 | 
 267 | Or leave it empty and use the [link text itself]
 268 | 
 269 | Some text to show that the reference links can follow later.
 270 | 
 271 | [arbitrary case-insensitive reference text]: https://www.mozilla.org
 272 | [1]: http://slashdot.org
 273 | [link text itself]: http://www.reddit.com
 274 | 
275 | 276 |

I'm an inline-style link

277 | 278 |

I'm an inline-style link with title

279 | 280 |

I'm a reference-style link

281 | 282 |

I'm a relative reference to a repository file

283 | 284 |

You can use numbers for reference-style link definitions

285 | 286 |

Or leave it empty and use the link text itself

287 | 288 |

Some text to show that the reference links can follow later.

289 | 290 |

291 | 292 |

Images

293 | 294 |
Here's our logo (hover to see the title text):
 295 | 
 296 | Inline-style:
 297 | ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")
 298 | 
 299 | Reference-style:
 300 | ![alt text][logo]
 301 | 
 302 | [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2"
 303 | 
304 | 305 |

Here's our logo (hover to see the title text):

306 | 307 |

Inline-style: 308 | alt text

309 | 310 |

Reference-style: 311 | alt text

312 | 313 |

314 | 315 |

Code and Syntax Highlighting

316 | 317 |

Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers -- like Github's and Markdown Here -- support syntax highlighting. Which languages are supported and how those language names should be written will vary from renderer to renderer. Markdown Here supports highlighting for dozens of languages (and not-really-languages, like diffs and HTTP headers); to see the complete list, and how to write the language names, see the highlight.js demo page.

318 | 319 |
Inline `code` has `back-ticks around` it.
 320 | 
321 | 322 |

Inline code has back-ticks around it.

323 | 324 |

Blocks of code are either fenced by lines with three back-ticks ```, or are indented with four spaces. I recommend only using the fenced code blocks -- they're easier and only they support syntax highlighting.

325 | 326 |
```javascript
 327 | var s = "JavaScript syntax highlighting";
 328 | alert(s);
 329 | ```
 330 | 
 331 | ```python
 332 | s = "Python syntax highlighting"
 333 | print s
 334 | ```
 335 | 
 336 | ```
 337 | No language indicated, so no syntax highlighting.
 338 | But let's throw in a <b>tag</b>.
 339 | ```
 340 | 
341 | 342 |
var s = "JavaScript syntax highlighting";
 343 | alert(s);
344 | 345 |
s = "Python syntax highlighting"
 346 | print s
347 | 348 |
No language indicated, so no syntax highlighting in Markdown Here (varies on Github).
 349 | But let's throw in a <b>tag</b>.
 350 | 
351 | 352 |

353 | 354 |

Tables

355 | 356 |

Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application.

357 | 358 |
Colons can be used to align columns.
 359 | 
 360 | | Tables        | Are           | Cool  |
 361 | | ------------- |:-------------:| -----:|
 362 | | col 3 is      | right-aligned |  |
 363 | | col 2 is      | centered      |    |
 364 | | zebra stripes | are neat      |     |
 365 | 
 366 | The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.
 367 | 
 368 | Markdown | Less | Pretty
 369 | --- | --- | ---
 370 | *Still* | `renders` | **nicely**
 371 | 1 | 2 | 3
 372 | 
373 | 374 |

Colons can be used to align columns.

375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 |
TablesAreCool
col 3 isright-aligned
col 2 iscentered
zebra stripesare neat
399 | 400 |

The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 |
MarkdownLessPretty
Stillrendersnicely
123
420 | 421 |

422 | 423 |

Blockquotes

424 | 425 |
> Blockquotes are very handy in email to emulate reply text.
 426 | > This line is part of the same quote.
 427 | 
 428 | Quote break.
 429 | 
 430 | > This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote.
 431 | 
432 | 433 |
434 |

Blockquotes are very handy in email to emulate reply text. 435 | This line is part of the same quote.

436 |
437 | 438 |

Quote break.

439 | 440 |
441 |

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

442 |
443 | 444 |

445 | 446 |

Inline HTML

447 | 448 |

You can also use raw HTML in your Markdown, and it'll mostly work pretty well.

449 | 450 |
<dl>
 451 |     <dt>Definition list</dt>
 452 |     <dd>Is something people use sometimes.</dd>
 453 | 
 454 |     <dt>Markdown in HTML</dt>
 455 |     <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
 456 | </dl>
 457 | 
458 | 459 |
460 |
Definition list
461 |
Is something people use sometimes.
462 | 463 |
Markdown in HTML
464 |
Does *not* work **very** well. Use HTML tags.
465 |
466 | 467 |

468 | 469 |

Horizontal Rule

470 | 471 |
Three or more...
 472 | 
 473 | ---
 474 | 
 475 | Hyphens
 476 | 
 477 | ***
 478 | 
 479 | Asterisks
 480 | 
 481 | ___
 482 | 
 483 | Underscores
 484 | 
485 | 486 |

Three or more...

487 | 488 |
489 | 490 |

Hyphens

491 | 492 |
493 | 494 |

Asterisks

495 | 496 |
497 | 498 |

Underscores

499 | 500 |

501 | 502 |

Line Breaks

503 | 504 |

My basic recommendation for learning how line breaks work is to experiment and discover -- hit <Enter> once (i.e., insert one newline), then hit it twice (i.e., insert two newlines), see what happens. You'll soon learn to get what you want. "Markdown Toggle" is your friend.

505 | 506 |

Here are some things to try out:

507 | 508 |
Here's a line for us to start with.
 509 | 
 510 | This line is separated from the one above by two newlines, so it will be a *separate paragraph*.
 511 | 
 512 | This line is also a separate paragraph, but...
 513 | This line is only separated by a single newline, so it's a separate line in the *same paragraph*.
 514 | 
515 | 516 |

Here's a line for us to start with.

517 | 518 |

This line is separated from the one above by two newlines, so it will be a separate paragraph.

519 | 520 |

This line is also begins a separate paragraph, but... 521 | This line is only separated by a single newline, so it's a separate line in the same paragraph.

522 | 523 |

(Technical note: Markdown Here uses GFM line breaks, so there's no need to use MD's two-space line breaks.)

524 | 525 |

526 | 527 |

Youtube videos

528 | 529 |

They can't be added directly but you can add an image with a link to the video like this:

530 | 531 |
<a href="http://www.youtube.com/watch?feature=player_embedded&v=YOUTUBE_VIDEO_ID_HERE
 532 | " target="_blank"><img src="http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg"
 533 | alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>
 534 | 
535 | 536 |

Or, in pure Markdown, but losing the image sizing and border:

537 | 538 |
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
 539 | 
540 | 541 |

Referencing a bug by #bugID in your git commit links it to the slip. For example #1.

542 | 543 |

Task List

544 | 545 | 554 | 555 |

[test]: http://google.com/ "Google"

556 | 557 |

A heading

558 | 559 |

Just a note, I've found that I can't test my markdown parser vs others. 560 | For example, both markdown.js and showdown code blocks in lists wrong. They're 561 | also completely [inconsistent][test] with regards to paragraphs in list items.

562 | 563 |

A link. Not anymore.

564 | 565 |

This will make me fail the test because 566 | markdown.js doesnt acknowledge arbitrary html blocks =/

567 | 568 | 587 | 588 |

Paragraph.

589 | 590 |
591 | 601 |
602 | 603 |
604 | 605 |
606 |

Another blockquote! 607 | I really need to get 608 | more creative with 609 | mockup text.. 610 | markdown.js breaks here again

611 |
612 | 613 |

Another Heading

614 | 615 |

Hello world. Here is a link. 616 | And an image alt.

617 | 618 |
Code goes here.
 619 | Lots of it...
 620 | 
621 | 622 |
623 |

A list within a blockquote:

624 | 625 | 630 |
631 | 632 |

This is strong and em.

633 | 634 |

So is this word.

635 | 636 |

This is strong and em.

637 | 638 |

So is this word.

639 | 640 |

Unordered

641 | 642 |

Asterisks tight:

643 | 644 | 649 | 650 |

Asterisks loose:

651 | 652 | 657 | 658 |
659 | 660 |

Pluses tight:

661 | 662 | 667 | 668 |

Pluses loose:

669 | 670 | 675 | 676 |
677 | 678 |

Minuses tight:

679 | 680 | 685 | 686 |

Minuses loose:

687 | 688 | 693 | 694 |

Ordered

695 | 696 |

Tight:

697 | 698 |
    699 |
  1. First
  2. 700 |
  3. Second
  4. 701 |
  5. Third
  6. 702 |
703 | 704 |

and:

705 | 706 |
    707 |
  1. One
  2. 708 |
  3. Two
  4. 709 |
  5. Three
  6. 710 |
711 | 712 |

Loose using tabs:

713 | 714 |
    715 |
  1. First

  2. 716 |
  3. Second

  4. 717 |
  5. Third

  6. 718 |
719 | 720 |

and using spaces:

721 | 722 |
    723 |
  1. One

  2. 724 |
  3. Two

  4. 725 |
  5. Three

  6. 726 |
727 | 728 |

Multiple paragraphs:

729 | 730 |
    731 |
  1. Item 1, graf one.

    732 | 733 |

    Item 2. graf two. The quick brown fox jumped over the lazy dog's 734 | back.

  2. 735 |
  3. Item 2.

  4. 736 |
  5. Item 3.

  6. 737 |
738 | 739 |

Nested

740 | 741 | 752 | 753 |

Here's another:

754 | 755 |
    756 |
  1. First
  2. 757 |
  3. Second: 758 | 759 |
      760 |
    • Fee
    • 761 |
    • Fie
    • 762 |
    • Foe
    • 763 |
  4. 764 |
  5. Third
  6. 765 |
766 | 767 |

Same thing but with paragraphs:

768 | 769 |
    770 |
  1. First

  2. 771 |
  3. Second:

    772 | 773 |
      774 |
    • Fee
    • 775 |
    • Fie
    • 776 |
    • Foe
    • 777 |
  4. 778 |
  5. Third

  6. 779 |
780 | 781 |

This was an error in Markdown 1.0.1:

782 | 783 | 792 | 793 |
794 |

foo

795 | 796 |
797 |

bar

798 |
799 | 800 |

foo

801 |
802 | 803 |

Markdown: Syntax

804 | 805 | 812 | 813 | 846 | 847 |

Note: This document is itself written using Markdown; you 848 | can [see the source for it by adding '.text' to the URL][src].

849 | 850 |

[src]: /projects/markdown/syntax.text

851 | 852 |
853 | 854 |

Overview

855 | 856 |

Philosophy

857 | 858 |

Markdown is intended to be as easy-to-read and easy-to-write as is feasible.

859 | 860 |

Readability, however, is emphasized above all else. A Markdown-formatted 861 | document should be publishable as-is, as plain text, without looking 862 | like it's been marked up with tags or formatting instructions. While 863 | Markdown's syntax has been influenced by several existing text-to-HTML 864 | filters -- including Setext, [atx] [2], [Textile] [3], [reStructuredText] [4], 865 | [Grutatext] [5], and [EtText] [6] -- the single biggest source of 866 | inspiration for Markdown's syntax is the format of plain text email.

867 | 868 |

1: http://docutils.sourceforge.net/mirror/setext.html 869 | [2]: http://www.aaronsw.com/2002/atx/ 870 | [3]: http://textism.com/tools/textile/ 871 | [4]: http://docutils.sourceforge.net/rst.html 872 | [5]: http://www.triptico.com/software/grutatxt.html 873 | [6]: http://ettext.taint.org/doc/

874 | 875 |

To this end, Markdown's syntax is comprised entirely of punctuation 876 | characters, which punctuation characters have been carefully chosen so 877 | as to look like what they mean. E.g., asterisks around a word actually 878 | look like *emphasis*. Markdown lists look like, well, lists. Even 879 | blockquotes look like quoted passages of text, assuming you've ever 880 | used email.

881 | 882 |

Inline HTML

883 | 884 |

Markdown's syntax is intended for one purpose: to be used as a 885 | format for writing for the web.

886 | 887 |

Markdown is not a replacement for HTML, or even close to it. Its 888 | syntax is very small, corresponding only to a very small subset of 889 | HTML tags. The idea is not to create a syntax that makes it easier 890 | to insert HTML tags. In my opinion, HTML tags are already easy to 891 | insert. The idea for Markdown is to make it easy to read, write, and 892 | edit prose. HTML is a publishing format; Markdown is a writing 893 | format. Thus, Markdown's formatting syntax only addresses issues that 894 | can be conveyed in plain text.

895 | 896 |

For any markup that is not covered by Markdown's syntax, you simply 897 | use HTML itself. There's no need to preface it or delimit it to 898 | indicate that you're switching from Markdown to HTML; you just use 899 | the tags.

900 | 901 |

The only restrictions are that block-level HTML elements -- e.g. <div>, 902 | <table>, <pre>, <p>, etc. -- must be separated from surrounding 903 | content by blank lines, and the start and end tags of the block should 904 | not be indented with tabs or spaces. Markdown is smart enough not 905 | to add extra (unwanted) <p> tags around HTML block-level tags.

906 | 907 |

For example, to add an HTML table to a Markdown article:

908 | 909 |
This is a regular paragraph.
 910 | 
 911 | <table>
 912 |     <tr>
 913 |         <td>Foo</td>
 914 |     </tr>
 915 | </table>
 916 | 
 917 | This is another regular paragraph.
 918 | 
919 | 920 |

Note that Markdown formatting syntax is not processed within block-level 921 | HTML tags. E.g., you can't use Markdown-style *emphasis* inside an 922 | HTML block.

923 | 924 |

Span-level HTML tags -- e.g. <span>, <cite>, or <del> -- can be 925 | used anywhere in a Markdown paragraph, list item, or header. If you 926 | want, you can even use HTML tags instead of Markdown formatting; e.g. if 927 | you'd prefer to use HTML <a> or <img> tags instead of Markdown's 928 | link or image syntax, go right ahead.

929 | 930 |

Unlike block-level HTML tags, Markdown syntax is processed within 931 | span-level tags.

932 | 933 |

Automatic Escaping for Special Characters

934 | 935 |

In HTML, there are two characters that demand special treatment: < 936 | and &. Left angle brackets are used to start tags; ampersands are 937 | used to denote HTML entities. If you want to use them as literal 938 | characters, you must escape them as entities, e.g. &lt;, and 939 | &amp;.

940 | 941 |

Ampersands in particular are bedeviling for web writers. If you want to 942 | write about 'AT&T', you need to write 'AT&amp;T'. You even need to 943 | escape ampersands within URLs. Thus, if you want to link to:

944 | 945 |
http://images.google.com/images?num=30&q=larry+bird
 946 | 
947 | 948 |

you need to encode the URL as:

949 | 950 |
http://images.google.com/images?num=30&amp;q=larry+bird
 951 | 
952 | 953 |

in your anchor tag href attribute. Needless to say, this is easy to 954 | forget, and is probably the single most common source of HTML validation 955 | errors in otherwise well-marked-up web sites.

956 | 957 |

Markdown allows you to use these characters naturally, taking care of 958 | all the necessary escaping for you. If you use an ampersand as part of 959 | an HTML entity, it remains unchanged; otherwise it will be translated 960 | into &amp;.

961 | 962 |

So, if you want to include a copyright symbol in your article, you can write:

963 | 964 |
&copy;
 965 | 
966 | 967 |

and Markdown will leave it alone. But if you write:

968 | 969 |
AT&T
 970 | 
971 | 972 |

Markdown will translate it to:

973 | 974 |
AT&amp;T
 975 | 
976 | 977 |

Similarly, because Markdown supports inline HTML, if you use 978 | angle brackets as delimiters for HTML tags, Markdown will treat them as 979 | such. But if you write:

980 | 981 |
4 < 5
 982 | 
983 | 984 |

Markdown will translate it to:

985 | 986 |
4 &lt; 5
 987 | 
988 | 989 |

However, inside Markdown code spans and blocks, angle brackets and 990 | ampersands are always encoded automatically. This makes it easy to use 991 | Markdown to write about HTML code. (As opposed to raw HTML, which is a 992 | terrible format for writing about HTML syntax, because every single < 993 | and & in your example code needs to be escaped.)

994 | 995 |
996 | 997 |

Block Elements

998 | 999 |

Paragraphs and Line Breaks

1000 | 1001 |

A paragraph is simply one or more consecutive lines of text, separated 1002 | by one or more blank lines. (A blank line is any line that looks like a 1003 | blank line -- a line containing nothing but spaces or tabs is considered 1004 | blank.) Normal paragraphs should not be intended with spaces or tabs.

1005 | 1006 |

The implication of the "one or more consecutive lines of text" rule is 1007 | that Markdown supports "hard-wrapped" text paragraphs. This differs 1008 | significantly from most other text-to-HTML formatters (including Movable 1009 | Type's "Convert Line Breaks" option) which translate every line break 1010 | character in a paragraph into a <br /> tag.

1011 | 1012 |

When you do want to insert a <br /> break tag using Markdown, you 1013 | end a line with two or more spaces, then type return.

1014 | 1015 |

Yes, this takes a tad more effort to create a <br />, but a simplistic 1016 | "every line break is a <br />" rule wouldn't work for Markdown. 1017 | Markdown's email-style [blockquoting][bq] and multi-paragraph [list items][l] 1018 | work best -- and look better -- when you format them with hard breaks.

1019 | 1020 |

[bq]: #blockquote 1021 | [l]: #list

1022 | 1023 |

Headers

1024 | 1025 |

Markdown supports two styles of headers, Setext and [atx] [2].

1026 | 1027 |

Setext-style headers are "underlined" using equal signs (for first-level 1028 | headers) and dashes (for second-level headers). For example:

1029 | 1030 |
This is an H1
1031 | =============
1032 | 
1033 | This is an H2
1034 | -------------
1035 | 
1036 | 1037 |

Any number of underlining ='s or -'s will work.

1038 | 1039 |

Atx-style headers use 1-6 hash characters at the start of the line, 1040 | corresponding to header levels 1-6. For example:

1041 | 1042 |
# This is an H1
1043 | 
1044 | ## This is an H2
1045 | 
1046 | ###### This is an H6
1047 | 
1048 | 1049 |

Optionally, you may "close" atx-style headers. This is purely 1050 | cosmetic -- you can use this if you think it looks better. The 1051 | closing hashes don't even need to match the number of hashes 1052 | used to open the header. (The number of opening hashes 1053 | determines the header level.) :

1054 | 1055 |
# This is an H1 #
1056 | 
1057 | ## This is an H2 ##
1058 | 
1059 | ### This is an H3 ######
1060 | 
1061 | 1062 |

Blockquotes

1063 | 1064 |

Markdown uses email-style > characters for blockquoting. If you're 1065 | familiar with quoting passages of text in an email message, then you 1066 | know how to create a blockquote in Markdown. It looks best if you hard 1067 | wrap the text and put a > before every line:

1068 | 1069 |
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
1070 | > consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
1071 | > Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
1072 | >
1073 | > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
1074 | > id sem consectetuer libero luctus adipiscing.
1075 | 
1076 | 1077 |

Markdown allows you to be lazy and only put the > before the first 1078 | line of a hard-wrapped paragraph:

1079 | 1080 |
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
1081 | consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
1082 | Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
1083 | 
1084 | > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
1085 | id sem consectetuer libero luctus adipiscing.
1086 | 
1087 | 1088 |

Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by 1089 | adding additional levels of >:

1090 | 1091 |
> This is the first level of quoting.
1092 | >
1093 | > > This is nested blockquote.
1094 | >
1095 | > Back to the first level.
1096 | 
1097 | 1098 |

Blockquotes can contain other Markdown elements, including headers, lists, 1099 | and code blocks:

1100 | 1101 |
> ## This is a header.
1102 | >
1103 | > 1.   This is the first list item.
1104 | > 2.   This is the second list item.
1105 | >
1106 | > Here's some example code:
1107 | >
1108 | >     return shell_exec("echo $input | $markdown_script");
1109 | 
1110 | 1111 |

Any decent text editor should make email-style quoting easy. For 1112 | example, with BBEdit, you can make a selection and choose Increase 1113 | Quote Level from the Text menu.

1114 | 1115 |

Lists

1116 | 1117 |

Markdown supports ordered (numbered) and unordered (bulleted) lists.

1118 | 1119 |

Unordered lists use asterisks, pluses, and hyphens -- interchangably 1120 | -- as list markers:

1121 | 1122 |
*   Red
1123 | *   Green
1124 | *   Blue
1125 | 
1126 | 1127 |

is equivalent to:

1128 | 1129 |
+   Red
1130 | +   Green
1131 | +   Blue
1132 | 
1133 | 1134 |

and:

1135 | 1136 |
-   Red
1137 | -   Green
1138 | -   Blue
1139 | 
1140 | 1141 |

Ordered lists use numbers followed by periods:

1142 | 1143 |
1.  Bird
1144 | 2.  McHale
1145 | 3.  Parish
1146 | 
1147 | 1148 |

It's important to note that the actual numbers you use to mark the 1149 | list have no effect on the HTML output Markdown produces. The HTML 1150 | Markdown produces from the above list is:

1151 | 1152 |
<ol>
1153 | <li>Bird</li>
1154 | <li>McHale</li>
1155 | <li>Parish</li>
1156 | </ol>
1157 | 
1158 | 1159 |

If you instead wrote the list in Markdown like this:

1160 | 1161 |
1.  Bird
1162 | 1.  McHale
1163 | 1.  Parish
1164 | 
1165 | 1166 |

or even:

1167 | 1168 |
3. Bird
1169 | 1. McHale
1170 | 8. Parish
1171 | 
1172 | 1173 |

you'd get the exact same HTML output. The point is, if you want to, 1174 | you can use ordinal numbers in your ordered Markdown lists, so that 1175 | the numbers in your source match the numbers in your published HTML. 1176 | But if you want to be lazy, you don't have to.

1177 | 1178 |

If you do use lazy list numbering, however, you should still start the 1179 | list with the number 1. At some point in the future, Markdown may support 1180 | starting ordered lists at an arbitrary number.

1181 | 1182 |

List markers typically start at the left margin, but may be indented by 1183 | up to three spaces. List markers must be followed by one or more spaces 1184 | or a tab.

1185 | 1186 |

To make lists look nice, you can wrap items with hanging indents:

1187 | 1188 |
*   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1189 |     Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
1190 |     viverra nec, fringilla in, laoreet vitae, risus.
1191 | *   Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
1192 |     Suspendisse id sem consectetuer libero luctus adipiscing.
1193 | 
1194 | 1195 |

But if you want to be lazy, you don't have to:

1196 | 1197 |
*   Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
1198 | Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
1199 | viverra nec, fringilla in, laoreet vitae, risus.
1200 | *   Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
1201 | Suspendisse id sem consectetuer libero luctus adipiscing.
1202 | 
1203 | 1204 |

If list items are separated by blank lines, Markdown will wrap the 1205 | items in <p> tags in the HTML output. For example, this input:

1206 | 1207 |
*   Bird
1208 | *   Magic
1209 | 
1210 | 1211 |

will turn into:

1212 | 1213 |
<ul>
1214 | <li>Bird</li>
1215 | <li>Magic</li>
1216 | </ul>
1217 | 
1218 | 1219 |

But this:

1220 | 1221 |
*   Bird
1222 | 
1223 | *   Magic
1224 | 
1225 | 1226 |

will turn into:

1227 | 1228 |
<ul>
1229 | <li><p>Bird</p></li>
1230 | <li><p>Magic</p></li>
1231 | </ul>
1232 | 
1233 | 1234 |

List items may consist of multiple paragraphs. Each subsequent 1235 | paragraph in a list item must be intended by either 4 spaces 1236 | or one tab:

1237 | 1238 |
1.  This is a list item with two paragraphs. Lorem ipsum dolor
1239 |     sit amet, consectetuer adipiscing elit. Aliquam hendrerit
1240 |     mi posuere lectus.
1241 | 
1242 |     Vestibulum enim wisi, viverra nec, fringilla in, laoreet
1243 |     vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
1244 |     sit amet velit.
1245 | 
1246 | 2.  Suspendisse id sem consectetuer libero luctus adipiscing.
1247 | 
1248 | 1249 |

It looks nice if you indent every line of the subsequent 1250 | paragraphs, but here again, Markdown will allow you to be 1251 | lazy:

1252 | 1253 |
*   This is a list item with two paragraphs.
1254 | 
1255 |     This is the second paragraph in the list item. You're
1256 | only required to indent the first line. Lorem ipsum dolor
1257 | sit amet, consectetuer adipiscing elit.
1258 | 
1259 | *   Another item in the same list.
1260 | 
1261 | 1262 |

To put a blockquote within a list item, the blockquote's > 1263 | delimiters need to be indented:

1264 | 1265 |
*   A list item with a blockquote:
1266 | 
1267 |     > This is a blockquote
1268 |     > inside a list item.
1269 | 
1270 | 1271 |

To put a code block within a list item, the code block needs 1272 | to be indented twice -- 8 spaces or two tabs:

1273 | 1274 |
*   A list item with a code block:
1275 | 
1276 |         <code goes here>
1277 | 
1278 | 1279 |

It's worth noting that it's possible to trigger an ordered list by 1280 | accident, by writing something like this:

1281 | 1282 |
1986. What a great season.
1283 | 
1284 | 1285 |

In other words, a number-period-space sequence at the beginning of a 1286 | line. To avoid this, you can backslash-escape the period:

1287 | 1288 |
1986\. What a great season.
1289 | 
1290 | 1291 |

Code Blocks

1292 | 1293 |

Pre-formatted code blocks are used for writing about programming or 1294 | markup source code. Rather than forming normal paragraphs, the lines 1295 | of a code block are interpreted literally. Markdown wraps a code block 1296 | in both <pre> and <code> tags.

1297 | 1298 |

To produce a code block in Markdown, simply indent every line of the 1299 | block by at least 4 spaces or 1 tab. For example, given this input:

1300 | 1301 |
This is a normal paragraph:
1302 | 
1303 |     This is a code block.
1304 | 
1305 | 1306 |

Markdown will generate:

1307 | 1308 |
<p>This is a normal paragraph:</p>
1309 | 
1310 | <pre><code>This is a code block.
1311 | </code></pre>
1312 | 
1313 | 1314 |

One level of indentation -- 4 spaces or 1 tab -- is removed from each 1315 | line of the code block. For example, this:

1316 | 1317 |
Here is an example of AppleScript:
1318 | 
1319 |     tell application "Foo"
1320 |         beep
1321 |     end tell
1322 | 
1323 | 1324 |

will turn into:

1325 | 1326 |
<p>Here is an example of AppleScript:</p>
1327 | 
1328 | <pre><code>tell application "Foo"
1329 |     beep
1330 | end tell
1331 | </code></pre>
1332 | 
1333 | 1334 |

A code block continues until it reaches a line that is not indented 1335 | (or the end of the article).

1336 | 1337 |

Within a code block, ampersands (&) and angle brackets (< and >) 1338 | are automatically converted into HTML entities. This makes it very 1339 | easy to include example HTML source code using Markdown -- just paste 1340 | it and indent it, and Markdown will handle the hassle of encoding the 1341 | ampersands and angle brackets. For example, this:

1342 | 1343 |
    <div class="footer">
1344 |         &copy; 2004 Foo Corporation
1345 |     </div>
1346 | 
1347 | 1348 |

will turn into:

1349 | 1350 |
<pre><code>&lt;div class="footer"&gt;
1351 |     &amp;copy; 2004 Foo Corporation
1352 | &lt;/div&gt;
1353 | </code></pre>
1354 | 
1355 | 1356 |

Regular Markdown syntax is not processed within code blocks. E.g., 1357 | asterisks are just literal asterisks within a code block. This means 1358 | it's also easy to use Markdown to write about Markdown's own syntax.

1359 | 1360 |

Horizontal Rules

1361 | 1362 |

You can produce a horizontal rule tag (<hr />) by placing three or 1363 | more hyphens, asterisks, or underscores on a line by themselves. If you 1364 | wish, you may use spaces between the hyphens or asterisks. Each of the 1365 | following lines will produce a horizontal rule:

1366 | 1367 |
* * *
1368 | 
1369 | ***
1370 | 
1371 | *****
1372 | 
1373 | - - -
1374 | 
1375 | ---------------------------------------
1376 | 
1377 | _ _ _
1378 | 
1379 | 1380 |
1381 | 1382 |

Span Elements

1383 | 1384 | 1385 | 1386 |

Markdown supports two style of links: inline and reference.

1387 | 1388 |

In both styles, the link text is delimited by [square brackets].

1389 | 1390 |

To create an inline link, use a set of regular parentheses immediately 1391 | after the link text's closing square bracket. Inside the parentheses, 1392 | put the URL where you want the link to point, along with an optional 1393 | title for the link, surrounded in quotes. For example:

1394 | 1395 |
This is [an example](http://example.com/ "Title") inline link.
1396 | 
1397 | [This link](http://example.net/) has no title attribute.
1398 | 
1399 | 1400 |

Will produce:

1401 | 1402 |
<p>This is <a href="http://example.com/" title="Title">
1403 | an example</a> inline link.</p>
1404 | 
1405 | <p><a href="http://example.net/">This link</a> has no
1406 | title attribute.</p>
1407 | 
1408 | 1409 |

If you're referring to a local resource on the same server, you can 1410 | use relative paths:

1411 | 1412 |
See my [About](/about/) page for details.
1413 | 
1414 | 1415 |

Reference-style links use a second set of square brackets, inside 1416 | which you place a label of your choosing to identify the link:

1417 | 1418 |
This is [an example][id] reference-style link.
1419 | 
1420 | 1421 |

You can optionally use a space to separate the sets of brackets:

1422 | 1423 |
This is [an example] [id] reference-style link.
1424 | 
1425 | 1426 |

Then, anywhere in the document, you define your link label like this, 1427 | on a line by itself:

1428 | 1429 |
[id]: http://example.com/  "Optional Title Here"
1430 | 
1431 | 1432 |

That is:

1433 | 1434 | 1443 | 1444 |

The link URL may, optionally, be surrounded by angle brackets:

1445 | 1446 |
[id]: <http://example.com/>  "Optional Title Here"
1447 | 
1448 | 1449 |

You can put the title attribute on the next line and use extra spaces 1450 | or tabs for padding, which tends to look better with longer URLs:

1451 | 1452 |
[id]: http://example.com/longish/path/to/resource/here
1453 |     "Optional Title Here"
1454 | 
1455 | 1456 |

Link definitions are only used for creating links during Markdown 1457 | processing, and are stripped from your document in the HTML output.

1458 | 1459 |

Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are not case sensitive. E.g. these two links:

1460 | 1461 |
[link text][a]
1462 | [link text][A]
1463 | 
1464 | 1465 |

are equivalent.

1466 | 1467 |

The implicit link name shortcut allows you to omit the name of the 1468 | link, in which case the link text itself is used as the name. 1469 | Just use an empty set of square brackets -- e.g., to link the word 1470 | "Google" to the google.com web site, you could simply write:

1471 | 1472 |
[Google][]
1473 | 
1474 | 1475 |

And then define the link:

1476 | 1477 |
[Google]: http://google.com/
1478 | 
1479 | 1480 |

Because link names may contain spaces, this shortcut even works for 1481 | multiple words in the link text:

1482 | 1483 |
Visit [Daring Fireball][] for more information.
1484 | 
1485 | 1486 |

And then define the link:

1487 | 1488 |
[Daring Fireball]: http://daringfireball.net/
1489 | 
1490 | 1491 |

Link definitions can be placed anywhere in your Markdown document. I 1492 | tend to put them immediately after each paragraph in which they're 1493 | used, but if you want, you can put them all at the end of your 1494 | document, sort of like footnotes.

1495 | 1496 |

Here's an example of reference links in action:

1497 | 1498 |
I get 10 times more traffic from [Google] [1] than from
1499 | [Yahoo] [2] or [MSN] [3].
1500 | 
1501 |   [1]: http://google.com/        "Google"
1502 |   [2]: http://search.yahoo.com/  "Yahoo Search"
1503 |   [3]: http://search.msn.com/    "MSN Search"
1504 | 
1505 | 1506 |

Using the implicit link name shortcut, you could instead write:

1507 | 1508 |
I get 10 times more traffic from [Google][] than from
1509 | [Yahoo][] or [MSN][].
1510 | 
1511 |   [google]: http://google.com/        "Google"
1512 |   [yahoo]:  http://search.yahoo.com/  "Yahoo Search"
1513 |   [msn]:    http://search.msn.com/    "MSN Search"
1514 | 
1515 | 1516 |

Both of the above examples will produce the following HTML output:

1517 | 1518 |
<p>I get 10 times more traffic from <a href="http://google.com/"
1519 | title="Google">Google</a> than from
1520 | <a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a>
1521 | or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>
1522 | 
1523 | 1524 |

For comparison, here is the same paragraph written using 1525 | Markdown's inline link style:

1526 | 1527 |
I get 10 times more traffic from [Google](http://google.com/ "Google")
1528 | than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or
1529 | [MSN](http://search.msn.com/ "MSN Search").
1530 | 
1531 | 1532 |

The point of reference-style links is not that they're easier to 1533 | write. The point is that with reference-style links, your document 1534 | source is vastly more readable. Compare the above examples: using 1535 | reference-style links, the paragraph itself is only 81 characters 1536 | long; with inline-style links, it's 176 characters; and as raw HTML, 1537 | it's 234 characters. In the raw HTML, there's more markup than there 1538 | is text.

1539 | 1540 |

With Markdown's reference-style links, a source document much more 1541 | closely resembles the final output, as rendered in a browser. By 1542 | allowing you to move the markup-related metadata out of the paragraph, 1543 | you can add links without interrupting the narrative flow of your 1544 | prose.

1545 | 1546 |

Emphasis

1547 | 1548 |

Markdown treats asterisks (*) and underscores (_) as indicators of 1549 | emphasis. Text wrapped with one * or _ will be wrapped with an 1550 | HTML <em> tag; double *'s or _'s will be wrapped with an HTML 1551 | <strong> tag. E.g., this input:

1552 | 1553 |
*single asterisks*
1554 | 
1555 | _single underscores_
1556 | 
1557 | **double asterisks**
1558 | 
1559 | __double underscores__
1560 | 
1561 | 1562 |

will produce:

1563 | 1564 |
<em>single asterisks</em>
1565 | 
1566 | <em>single underscores</em>
1567 | 
1568 | <strong>double asterisks</strong>
1569 | 
1570 | <strong>double underscores</strong>
1571 | 
1572 | 1573 |

You can use whichever style you prefer; the lone restriction is that 1574 | the same character must be used to open and close an emphasis span.

1575 | 1576 |

Emphasis can be used in the middle of a word:

1577 | 1578 |
un*fucking*believable
1579 | 
1580 | 1581 |

But if you surround an * or _ with spaces, it'll be treated as a 1582 | literal asterisk or underscore.

1583 | 1584 |

To produce a literal asterisk or underscore at a position where it 1585 | would otherwise be used as an emphasis delimiter, you can backslash 1586 | escape it:

1587 | 1588 |
\*this text is surrounded by literal asterisks\*
1589 | 
1590 | 1591 |

Code

1592 | 1593 |

To indicate a span of code, wrap it with backtick quotes (`). 1594 | Unlike a pre-formatted code block, a code span indicates code within a 1595 | normal paragraph. For example:

1596 | 1597 |
Use the `printf()` function.
1598 | 
1599 | 1600 |

will produce:

1601 | 1602 |
<p>Use the <code>printf()</code> function.</p>
1603 | 
1604 | 1605 |

To include a literal backtick character within a code span, you can use 1606 | multiple backticks as the opening and closing delimiters:

1607 | 1608 |
``There is a literal backtick (`) here.``
1609 | 
1610 | 1611 |

which will produce this:

1612 | 1613 |
<p><code>There is a literal backtick (`) here.</code></p>
1614 | 
1615 | 1616 |

The backtick delimiters surrounding a code span may include spaces -- 1617 | one after the opening, one before the closing. This allows you to place 1618 | literal backtick characters at the beginning or end of a code span:

1619 | 1620 |
A single backtick in a code span: `` ` ``
1621 | 
1622 | A backtick-delimited string in a code span: `` `foo` ``
1623 | 
1624 | 1625 |

will produce:

1626 | 1627 |
<p>A single backtick in a code span: <code>`</code></p>
1628 | 
1629 | <p>A backtick-delimited string in a code span: <code>`foo`</code></p>
1630 | 
1631 | 1632 |

With a code span, ampersands and angle brackets are encoded as HTML 1633 | entities automatically, which makes it easy to include example HTML 1634 | tags. Markdown will turn this:

1635 | 1636 |
Please don't use any `<blink>` tags.
1637 | 
1638 | 1639 |

into:

1640 | 1641 |
<p>Please don't use any <code>&lt;blink&gt;</code> tags.</p>
1642 | 
1643 | 1644 |

You can write this:

1645 | 1646 |
`&#8212;` is the decimal-encoded equivalent of `&mdash;`.
1647 | 
1648 | 1649 |

to produce:

1650 | 1651 |
<p><code>&amp;#8212;</code> is the decimal-encoded
1652 | equivalent of <code>&amp;mdash;</code>.</p>
1653 | 
1654 | 1655 |

Images

1656 | 1657 |

Admittedly, it's fairly difficult to devise a "natural" syntax for 1658 | placing images into a plain text document format.

1659 | 1660 |

Markdown uses an image syntax that is intended to resemble the syntax 1661 | for links, allowing for two styles: inline and reference.

1662 | 1663 |

Inline image syntax looks like this:

1664 | 1665 |
![Alt text](/path/to/img.jpg)
1666 | 
1667 | ![Alt text](/path/to/img.jpg "Optional title")
1668 | 
1669 | 1670 |

That is:

1671 | 1672 | 1680 | 1681 |

Reference-style image syntax looks like this:

1682 | 1683 |
![Alt text][id]
1684 | 
1685 | 1686 |

Where "id" is the name of a defined image reference. Image references 1687 | are defined using syntax identical to link references:

1688 | 1689 |
[id]: url/to/image  "Optional title attribute"
1690 | 
1691 | 1692 |

As of this writing, Markdown has no syntax for specifying the 1693 | dimensions of an image; if this is important to you, you can simply 1694 | use regular HTML <img> tags.

1695 | 1696 |
1697 | 1698 |

Miscellaneous

1699 | 1700 | 1701 | 1702 |

Markdown supports a shortcut style for creating "automatic" links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:

1703 | 1704 |
<http://example.com/>
1705 | 
1706 | 1707 |

Markdown will turn this into:

1708 | 1709 |
<a href="http://example.com/">http://example.com/</a>
1710 | 
1711 | 1712 |

Automatic links for email addresses work similarly, except that 1713 | Markdown will also perform a bit of randomized decimal and hex 1714 | entity-encoding to help obscure your address from address-harvesting 1715 | spambots. For example, Markdown will turn this:

1716 | 1717 |
<address@example.com>
1718 | 
1719 | 1720 |

into something like this:

1721 | 1722 |
<a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
1723 | &#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
1724 | &#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;
1725 | &#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a>
1726 | 
1727 | 1728 |

which will render in a browser as a clickable link to "address@example.com".

1729 | 1730 |

(This sort of entity-encoding trick will indeed fool many, if not 1731 | most, address-harvesting bots, but it definitely won't fool all of 1732 | them. It's better than nothing, but an address published in this way 1733 | will probably eventually start receiving spam.)

1734 | 1735 |

Backslash Escapes

1736 | 1737 |

Markdown allows you to use backslash escapes to generate literal 1738 | characters which would otherwise have special meaning in Markdown's 1739 | formatting syntax. For example, if you wanted to surround a word with 1740 | literal asterisks (instead of an HTML <em> tag), you can backslashes 1741 | before the asterisks, like this:

1742 | 1743 |
\*literal asterisks\*
1744 | 
1745 | 1746 |

Markdown provides backslash escapes for the following characters:

1747 | 1748 |
\   backslash
1749 | `   backtick
1750 | *   asterisk
1751 | _   underscore
1752 | {}  curly braces
1753 | []  square brackets
1754 | ()  parentheses
1755 | #   hash mark
1756 | +   plus sign
1757 | -   minus sign (hyphen)
1758 | .   dot
1759 | !   exclamation mark
1760 | 
1761 | 1762 |

Foo [bar][].

1763 | 1764 |

Foo bar.

1765 | 1766 |

[bar]: /url/ "Title with "quotes" inside"

1767 | 1768 |

This is the [simple case].

1769 | 1770 |

[simple case]: /simple

1771 | 1772 |

This one has a [line 1773 | break].

1774 | 1775 |

This one has a [line 1776 | break] with a line-ending space.

1777 | 1778 |

[line break]: /foo

1779 | 1780 |

[this] [that] and the [other]

1781 | 1782 |

[this]: /this 1783 | [that]: /that 1784 | [other]: /other

1785 | 1786 |

Here's a simple block:

1787 | 1788 |
1789 | foo 1790 |
1791 | 1792 |

This should be a code block, though:

1793 | 1794 |
<div>
1795 |     foo
1796 | </div>
1797 | 
1798 | 1799 |

As should this:

1800 | 1801 |
<div>foo</div>
1802 | 
1803 | 1804 |

Now, nested:

1805 | 1806 |
1807 |
1808 |
1809 | foo 1810 |
1811 |
1812 |
1813 | 1814 |

This should just be an HTML comment:

1815 | 1816 | 1817 | 1818 |

Multiline:

1819 | 1820 | 1821 | 1822 |

Code block:

1823 | 1824 |
<!-- Comment -->
1825 | 
1826 | 1827 |

Just plain comment, with trailing spaces on the line:

1828 | 1829 | 1830 | 1831 |

Code:

1832 | 1833 |
<hr />
1834 | 
1835 | 1836 |

Hr's:

1837 | 1838 |
1839 | 1840 |
1841 | 1842 |
1843 | 1844 |
1845 | 1846 |
1847 | 1848 |
1849 | 1850 |
1851 | 1852 |
1853 | 1854 |
1855 | 1856 |
var gulp = require('gulp');
1857 | var myth = require('gulp-myth');
1858 | 
1859 | gulp.task('default', function () {
1860 |     return gulp.src('src/app.css')
1861 |         .pipe(myth())
1862 |         .pipe(gulp.dest('dist'));
1863 | });
1864 |
1865 | Fork me on GitHub 1866 | 1867 | 1868 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Sindre Sorhus (https://sindresorhus.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "github-markdown-css", 3 | "version": "5.8.1", 4 | "description": "The minimal amount of CSS to replicate the GitHub Markdown style", 5 | "license": "MIT", 6 | "repository": "sindresorhus/github-markdown-css", 7 | "funding": "https://github.com/sponsors/sindresorhus", 8 | "author": { 9 | "name": "Sindre Sorhus", 10 | "email": "sindresorhus@gmail.com", 11 | "url": "https://sindresorhus.com" 12 | }, 13 | "main": "github-markdown.css", 14 | "engines": { 15 | "node": ">=10" 16 | }, 17 | "scripts": { 18 | "make:light": "github-markdown-css --no-use-fixture --type light > github-markdown-light.css", 19 | "make:dark": "github-markdown-css --no-use-fixture --type dark > github-markdown-dark.css", 20 | "make:auto": "github-markdown-css --no-use-fixture --type auto > github-markdown.css", 21 | "make": "npm run make:light && npm run make:dark && npm run make:auto" 22 | }, 23 | "files": [ 24 | "github-markdown.css", 25 | "github-markdown-dark.css", 26 | "github-markdown-light.css" 27 | ], 28 | "keywords": [ 29 | "browser", 30 | "github", 31 | "markdown", 32 | "md", 33 | "css", 34 | "style", 35 | "stylesheet" 36 | ], 37 | "devDependencies": { 38 | "generate-github-markdown-css": "^6.5.1" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # github-markdown-css 2 | 3 | > The minimal amount of CSS to replicate the GitHub Markdown style 4 | 5 | **The CSS is generated. Contributions should go to [this repo](https://github.com/sindresorhus/generate-github-markdown-css).** 6 | 7 | [](http://sindresorhus.com/github-markdown-css) 8 | 9 | ## [Demo](https://sindresorhus.com/github-markdown-css) 10 | 11 | ## Install 12 | 13 | Download [manually](https://raw.githubusercontent.com/sindresorhus/github-markdown-css/gh-pages/github-markdown.css), from [CDNJS](https://cdnjs.com/libraries/github-markdown-css), or with npm: 14 | 15 | ```sh 16 | npm install github-markdown-css 17 | ``` 18 | 19 | ## Usage 20 | 21 | Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding, and `15px` padding for mobile. 22 | 23 | ```html 24 | 25 | 26 | 41 |
42 |

Unicorns

43 |

All the things

44 |
45 | ``` 46 | 47 | You can use [GitHub's `/markdown` API](https://docs.github.com/en/free-pro-team@latest/rest/reference/markdown) to turn Markdown into the HTML that GitHub generates, which works well with the CSS in this repo. Other Markdown parsers will mostly work with these styles too. To mimic how GitHub highlights code, you can use [`starry-night`](https://github.com/wooorm/starry-night) with your Markdown parser of choice. 48 | 49 | There are 3 themes provided in this package: 50 | 51 | - **github-markdown.css**: (default) Automatically switches between light and dark through [`@media (prefers-color-scheme)`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme). 52 | - **github-markdown-light.css**: Light-only. 53 | - **github-markdown-dark.css**: Dark-only. 54 | 55 | You may know that now GitHub supports more than 2 themes including `dark_dimmed`, `dark_high_contrast` and `colorblind` variants. If you want to try these themes, you can generate them on your own! See next section. 56 | 57 | ## How 58 | 59 | See [`generate-github-markdown-css`](https://github.com/sindresorhus/generate-github-markdown-css) for how it's generated and ability to generate your own. 60 | 61 | ## Troubleshooting 62 | 63 | If you encounter styling issues, like tables in dark mode rendering their fonts in black, the browser might uses [quirks mode](https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode) by accident. 64 | 65 | To avoid quirks mode, always include a doctype at the top of your page. 66 | 67 | ```html 68 | 69 | 70 | ``` 71 | 72 | ## Dev 73 | 74 | Run `npm run make` to update the CSS. 75 | --------------------------------------------------------------------------------