Documentation.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>
  5. <title>Documentation.md</title><style type='text/css'>html, body {overflow-x: initial !important;}html { font-size: 14px; }
  6. body { margin: 0px; padding: 0px; height: auto; bottom: 0px; top: 0px; left: 0px; right: 0px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.42857; color: rgb(51, 51, 51); overflow-x: hidden; background-color: rgb(255, 255, 255); }
  7. a:active, a:hover { outline: 0px; }
  8. .in-text-selection, ::selection { text-shadow: none; background: rgb(181, 214, 252); }
  9. #write { margin: 0px auto; height: auto; width: inherit; word-break: normal; word-wrap: break-word; position: relative; padding-bottom: 70px; white-space: pre-wrap; }
  10. body.typora-export { padding-left: 30px; padding-right: 30px; }
  11. @media screen and (max-width: 500px) {
  12. body.typora-export { padding-left: 0px; padding-right: 0px; }
  13. .CodeMirror-sizer { margin-left: 0px !important; }
  14. .CodeMirror-gutters { display: none !important; }
  15. }
  16. .typora-export #write { margin: 0px auto; }
  17. #write > p:first-child, #write > ul:first-child, #write > ol:first-child, #write > pre:first-child, #write > blockquote:first-child, #write > div:first-child, #write > table:first-child { margin-top: 30px; }
  18. img { max-width: 100%; }
  19. input, button, select, textarea { color: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; }
  20. input[type="checkbox"], input[type="radio"] { line-height: normal; padding: 0px; }
  21. ::before, ::after, * { box-sizing: border-box; }
  22. #write p, #write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write div, #write pre { width: inherit; }
  23. #write p, #write h1, #write h2, #write h3, #write h4, #write h5, #write h6 { position: relative; }
  24. h1 { font-size: 2rem; }
  25. h2 { font-size: 1.8rem; }
  26. h3 { font-size: 1.6rem; }
  27. h4 { font-size: 1.4rem; }
  28. h5 { font-size: 1.2rem; }
  29. h6 { font-size: 1rem; }
  30. p { -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; -webkit-margin-start: 0px; -webkit-margin-end: 0px; }
  31. .mathjax-block { margin-top: 0px; margin-bottom: 0px; -webkit-margin-before: 0rem; -webkit-margin-after: 0rem; }
  32. .hidden { display: none; }
  33. .md-blockmeta { color: rgb(204, 204, 204); font-weight: bold; font-style: italic; }
  34. a { cursor: pointer; }
  35. #write input[type="checkbox"] { cursor: pointer; width: inherit; height: inherit; margin: 4px 0px 0px; }
  36. tr { break-inside: avoid; break-after: auto; }
  37. thead { display: table-header-group; }
  38. table { border-collapse: collapse; border-spacing: 0px; width: 100%; overflow: auto; break-inside: auto; text-align: left; }
  39. table.md-table td { min-width: 80px; }
  40. .CodeMirror-gutters { border-right-width: 0px; background-color: inherit; }
  41. .CodeMirror { text-align: left; }
  42. .CodeMirror-placeholder { opacity: 0.3; }
  43. .CodeMirror pre { padding: 0px 4px; }
  44. .CodeMirror-lines { padding: 0px; }
  45. div.hr:focus { cursor: none; }
  46. pre { white-space: pre-wrap; }
  47. .CodeMirror-gutters { margin-right: 4px; }
  48. .md-fences { font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; overflow: visible; white-space: pre; position: relative !important; background: inherit; }
  49. .md-diagram-panel { width: 100%; margin-top: 10px; text-align: center; padding-top: 0px; padding-bottom: 8px; overflow-x: auto; }
  50. .md-fences .CodeMirror.CodeMirror-wrap { top: -1.6em; margin-bottom: -1.6em; }
  51. .md-fences.mock-cm { white-space: pre-wrap; }
  52. .show-fences-line-number .md-fences { padding-left: 0px; }
  53. .show-fences-line-number .md-fences.mock-cm { padding-left: 40px; }
  54. .footnotes { color: rgb(136, 136, 136); font-size: 0.9rem; padding-top: 1em; padding-bottom: 1em; }
  55. .footnotes + .footnotes { margin-top: -1em; }
  56. .md-reset { margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: top; text-decoration: none; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1rem; text-shadow: none; float: none; position: static; width: auto; height: auto; white-space: nowrap; cursor: inherit; -webkit-tap-highlight-color: transparent; line-height: normal; font-weight: normal; text-align: left; box-sizing: content-box; direction: ltr; background: transparent; }
  57. li div { padding-top: 0px; }
  58. blockquote { margin: 1rem 0px; }
  59. li p, li .mathjax-block { margin: 0.5rem 0px; }
  60. li { margin: 0px; position: relative; }
  61. blockquote > :last-child { margin-bottom: 0px; }
  62. blockquote > :first-child { margin-top: 0px; }
  63. .footnotes-area { color: rgb(136, 136, 136); margin-top: 0.714rem; padding-bottom: 0.143rem; }
  64. @media print {
  65. html, body { height: 100%; }
  66. .typora-export * { -webkit-print-color-adjust: exact; }
  67. h1, h2, h3, h4, h5, h6 { break-after: avoid-page; orphans: 2; }
  68. p { orphans: 4; }
  69. html.blink-to-pdf { font-size: 13px; }
  70. .typora-export #write { padding-left: 1cm; padding-right: 1cm; }
  71. .typora-export #write::after { height: 0px; }
  72. @page { margin: 20mm 0mm; }
  73. }
  74. .footnote-line { margin-top: 0.714em; font-size: 0.7em; }
  75. a img, img a { cursor: pointer; }
  76. pre.md-meta-block { font-size: 0.8rem; min-height: 2.86rem; white-space: pre-wrap; display: block; background: rgb(204, 204, 204); }
  77. p > .md-image:only-child { display: inline-block; width: 100%; text-align: center; }
  78. #write .MathJax_Display { margin: 0.8em 0px 0px; }
  79. .mathjax-block { white-space: pre; overflow: hidden; width: 100%; }
  80. p + .mathjax-block { margin-top: -1.143rem; }
  81. .mathjax-block:not(:empty)::after { display: none; }
  82. [contenteditable="true"]:active, [contenteditable="true"]:focus { outline: none; box-shadow: none; }
  83. .task-list { list-style-type: none; }
  84. .task-list-item { position: relative; padding-left: 1em; }
  85. .task-list-item input { position: absolute; top: 0px; left: 0px; }
  86. .math { font-size: 1rem; }
  87. .md-toc { min-height: 3.58rem; position: relative; font-size: 0.9rem; border-radius: 10px; }
  88. .md-toc-content { position: relative; margin-left: 0px; }
  89. .md-toc::after, .md-toc-content::after { display: none; }
  90. .md-toc-item { display: block; color: rgb(65, 131, 196); text-decoration: none; }
  91. .md-toc-inner:hover { }
  92. .md-toc-inner { display: inline-block; cursor: pointer; }
  93. .md-toc-h1 .md-toc-inner { margin-left: 0px; font-weight: bold; }
  94. .md-toc-h2 .md-toc-inner { margin-left: 2em; }
  95. .md-toc-h3 .md-toc-inner { margin-left: 4em; }
  96. .md-toc-h4 .md-toc-inner { margin-left: 6em; }
  97. .md-toc-h5 .md-toc-inner { margin-left: 8em; }
  98. .md-toc-h6 .md-toc-inner { margin-left: 10em; }
  99. @media screen and (max-width: 48em) {
  100. .md-toc-h3 .md-toc-inner { margin-left: 3.5em; }
  101. .md-toc-h4 .md-toc-inner { margin-left: 5em; }
  102. .md-toc-h5 .md-toc-inner { margin-left: 6.5em; }
  103. .md-toc-h6 .md-toc-inner { margin-left: 8em; }
  104. }
  105. a.md-toc-inner { font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; }
  106. .footnote-line a:not(.reversefootnote) { color: inherit; }
  107. .md-attr { display: none; }
  108. .md-fn-count::after { content: "."; }
  109. .md-tag { opacity: 0.5; }
  110. code { text-align: left; }
  111. h1 .md-tag, h2 .md-tag, h3 .md-tag, h4 .md-tag, h5 .md-tag, h6 .md-tag { font-weight: initial; opacity: 0.35; }
  112. a.md-header-anchor.md-print-anchor { border: none !important; display: inline-block !important; position: absolute !important; width: 1px !important; right: 0px !important; outline: none !important; text-decoration: initial !important; text-shadow: initial !important; background: transparent !important; }
  113. .md-inline-math .MathJax_SVG .noError { display: none !important; }
  114. .mathjax-block .MathJax_SVG_Display { text-align: center; margin: 1em 0em; position: relative; text-indent: 0px; max-width: none; max-height: none; min-width: 0px; min-height: 0px; width: 100%; display: block !important; }
  115. .MathJax_SVG_Display, .md-inline-math .MathJax_SVG_Display { width: auto; margin: inherit; display: inline-block !important; }
  116. .MathJax_SVG .MJX-monospace { font-family: monospace; }
  117. .MathJax_SVG .MJX-sans-serif { font-family: sans-serif; }
  118. .MathJax_SVG { display: inline; font-style: normal; font-weight: normal; line-height: normal; zoom: 90%; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; }
  119. .MathJax_SVG * { transition: none; }
  120. @font-face { font-family: "Open Sans"; font-style: normal; font-weight: normal; src: local("Open Sans Regular"), url("./github/400.woff") format("woff"); }
  121. @font-face { font-family: "Open Sans"; font-style: italic; font-weight: normal; src: local("Open Sans Italic"), url("./github/400i.woff") format("woff"); }
  122. @font-face { font-family: "Open Sans"; font-style: normal; font-weight: bold; src: local("Open Sans Bold"), url("./github/700.woff") format("woff"); }
  123. @font-face { font-family: "Open Sans"; font-style: italic; font-weight: bold; src: local("Open Sans Bold Italic"), url("./github/700i.woff") format("woff"); }
  124. html { font-size: 16px; }
  125. body { font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: rgb(51, 51, 51); line-height: 1.6; }
  126. #write { max-width: 860px; margin: 0px auto; padding: 20px 30px 100px; }
  127. #write > ul:first-child, #write > ol:first-child { margin-top: 30px; }
  128. body > :first-child { margin-top: 0px !important; }
  129. body > :last-child { margin-bottom: 0px !important; }
  130. a { color: rgb(65, 131, 196); }
  131. h1, h2, h3, h4, h5, h6 { position: relative; margin-top: 1rem; margin-bottom: 1rem; font-weight: bold; line-height: 1.4; cursor: text; }
  132. h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { text-decoration: none; }
  133. h1 tt, h1 code { font-size: inherit; }
  134. h2 tt, h2 code { font-size: inherit; }
  135. h3 tt, h3 code { font-size: inherit; }
  136. h4 tt, h4 code { font-size: inherit; }
  137. h5 tt, h5 code { font-size: inherit; }
  138. h6 tt, h6 code { font-size: inherit; }
  139. h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
  140. h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
  141. h3 { font-size: 1.5em; line-height: 1.43; }
  142. h4 { font-size: 1.25em; }
  143. h5 { font-size: 1em; }
  144. h6 { font-size: 1em; color: rgb(119, 119, 119); }
  145. p, blockquote, ul, ol, dl, table { margin: 0.8em 0px; }
  146. li > ol, li > ul { margin: 0px; }
  147. hr { height: 4px; padding: 0px; margin: 16px 0px; border-width: 0px 0px 1px; border-style: none none solid; overflow: hidden; box-sizing: content-box; border-bottom-color: rgb(221, 221, 221); background-color: rgb(231, 231, 231); }
  148. body > h2:first-child { margin-top: 0px; padding-top: 0px; }
  149. body > h1:first-child { margin-top: 0px; padding-top: 0px; }
  150. body > h1:first-child + h2 { margin-top: 0px; padding-top: 0px; }
  151. body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child { margin-top: 0px; padding-top: 0px; }
  152. a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 { margin-top: 0px; padding-top: 0px; }
  153. h1 p, h2 p, h3 p, h4 p, h5 p, h6 p { margin-top: 0px; }
  154. li p.first { display: inline-block; }
  155. ul, ol { padding-left: 30px; }
  156. ul:first-child, ol:first-child { margin-top: 0px; }
  157. ul:last-child, ol:last-child { margin-bottom: 0px; }
  158. blockquote { border-left-width: 4px; border-left-style: solid; border-left-color: rgb(221, 221, 221); padding: 0px 15px; color: rgb(119, 119, 119); }
  159. blockquote blockquote { padding-right: 0px; }
  160. table { padding: 0px; }
  161. table tr { border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); margin: 0px; padding: 0px; background-color: white; }
  162. table tr:nth-child(2n) { background-color: rgb(248, 248, 248); }
  163. table tr th { font-weight: bold; border: 1px solid rgb(204, 204, 204); text-align: left; margin: 0px; padding: 6px 13px; }
  164. table tr td { border: 1px solid rgb(204, 204, 204); text-align: left; margin: 0px; padding: 6px 13px; }
  165. table tr th:first-child, table tr td:first-child { margin-top: 0px; }
  166. table tr th:last-child, table tr td:last-child { margin-bottom: 0px; }
  167. .CodeMirror-gutters { border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); }
  168. .md-fences, code, tt { border: 1px solid rgb(221, 221, 221); border-radius: 3px; font-family: Consolas, "Liberation Mono", Courier, monospace; padding: 2px 4px 0px; font-size: 0.9em; background-color: rgb(248, 248, 248); }
  169. .md-fences { margin-bottom: 15px; margin-top: 15px; padding: 8px 1em 6px; }
  170. .task-list { padding-left: 0px; }
  171. .task-list-item { padding-left: 32px; }
  172. .task-list-item input { top: 3px; left: 8px; }
  173. @media screen and (min-width: 914px) {
  174. }
  175. @media print {
  176. html { font-size: 13px; }
  177. table, pre { break-inside: avoid; }
  178. pre { word-wrap: break-word; }
  179. }
  180. .md-fences { background-color: rgb(248, 248, 248); }
  181. #write pre.md-meta-block { padding: 1rem; font-size: 85%; line-height: 1.45; border: 0px; border-radius: 3px; color: rgb(119, 119, 119); margin-top: 0px !important; background-color: rgb(247, 247, 247); }
  182. .mathjax-block > .code-tooltip { bottom: 0.375rem; }
  183. #write > h3.md-focus::before { left: -1.5625rem; top: 0.375rem; }
  184. #write > h4.md-focus::before { left: -1.5625rem; top: 0.285714rem; }
  185. #write > h5.md-focus::before { left: -1.5625rem; top: 0.285714rem; }
  186. #write > h6.md-focus::before { left: -1.5625rem; top: 0.285714rem; }
  187. .md-image > .md-meta { border: 1px solid rgb(221, 221, 221); border-radius: 3px; font-family: Consolas, "Liberation Mono", Courier, monospace; padding: 2px 4px 0px; font-size: 0.9em; color: inherit; background-color: rgb(248, 248, 248); }
  188. .md-tag { color: inherit; }
  189. .md-toc { margin-top: 20px; padding-bottom: 20px; }
  190. #typora-quick-open { border: 1px solid rgb(221, 221, 221); background-color: rgb(248, 248, 248); }
  191. #typora-quick-open-item { border-color: rgb(254, 254, 254) rgb(229, 229, 229) rgb(229, 229, 229) rgb(238, 238, 238); border-style: solid; border-width: 1px; background-color: rgb(250, 250, 250); }
  192. .on-focus-mode blockquote { border-left-color: rgba(85, 85, 85, 0.117647); }
  193. header, .context-menu, .megamenu-content, footer { font-family: "Segoe UI", Arial, sans-serif; }
  194. </style>
  195. </head>
  196. <body class='typora-export ' >
  197. <div id='write' class = 'is-node'><h1><a name='header-c1' class='md-header-anchor '></a>Line Endings Fixer</h1><p></p><h2><a name='header-c8' class='md-header-anchor '></a>Overview</h2><p>This asset contains a script that automatically fixes line endings on your script based. It&#39;ll watch the logs of the console for reports of mixed line endings and automatically fix it for you based on your line-ending choice.</p><h2><a name='header-c11' class='md-header-anchor '></a>Configuration</h2><p>To configure which type of line ending you want, just go to <strong>Tools</strong> &gt; <strong>Line Endings Fixer</strong> and select which line ending you want for your project.</p><p> <img src='Images\settings.png' alt='settings' /></p><p>Note that there&#39;s no &quot;batch&quot; processing, only scripts reported on console will be fixed. </p><h2><a name='header-c18' class='md-header-anchor '></a>Contact</h2><p>If you have any questions, drop me an email at <a href='mailto://wolfulus@gmail.com' target='_blank' >wolfulus@gmail.com</a>. </p><p>Thank you!</p><p><a href='https://wolfulus.com/' target='_blank' >https://wolfulus.com/</a>
  198. <a href='https://twitter.com/wolfulus' target='_blank' >https://twitter.com/wolfulus</a></p></div>
  199. </body>
  200. </html>