Skip to content

Instantly share code, notes, and snippets.

@phillip-haydon
Last active March 4, 2016 17:18
Show Gist options
  • Save phillip-haydon/237a82f2a4925cacdb68 to your computer and use it in GitHub Desktop.
Save phillip-haydon/237a82f2a4925cacdb68 to your computer and use it in GitHub Desktop.
debug.md

Atom Beautify - Debugging information

The following debugging information was generated by Atom Beautify on Fri Mar 04 2016 23:36:12 GMT+0800 (Malay Peninsula Standard Time).


Table Of Contents


Platform: win32

Versions

Atom Version: 1.5.4

Atom Beautify Version: 0.28.26

Original file to be beautified

Original File Path: E:\github\HyRes\src\Riot-Tags\help-video.tag

Original File Grammar: HTML (Riot tag)

Original File Language: Riot.js

Language namespace: riot

Supported Beautifiers: Pretty Diff

Selected Beautifier: Pretty Diff

Original File Contents

<help-video>

    <div>
        <iframe src="{ opts.video }"
                width="1279" height="720" frameborder="0"
                webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>

    <script type="babel">
        this.root.addEventListener('click', e => {
            if (e.target === this.root) {
                document.documentElement.removeChild(this.root);
            }
        });
    </script>

</help-video>

Package Settings

The raw package settings options

{
    "_analyticsUserId": "37a59295-986d-4cb5-8482-3a99200330c1",
    "analytics": true,
    "_loggerLevel": "warn",
    "beautifyEntireFileOnSave": true,
    "muteUnsupportedLanguageErrors": false,
    "muteAllErrors": false,
    "apex_configPath": "",
    "arduino_configPath": "",
    "cs_configPath": "",
    "c_configPath": "",
    "cfml_indent_inner_html": false,
    "cfml_indent_size": 4,
    "cfml_indent_char": " ",
    "cfml_brace_style": "collapse",
    "cfml_indent_scripts": "normal",
    "cfml_wrap_line_length": 250,
    "cfml_wrap_attributes": "auto",
    "cfml_wrap_attributes_indent_size": 4,
    "cfml_preserve_newlines": true,
    "cfml_max_preserve_newlines": 10,
    "cfml_unformatted": [
        "a",
        "sub",
        "sup",
        "b",
        "i",
        "u"
    ],
    "cfml_end_with_newline": false,
    "cfml_extra_liners": [
        "head",
        "body",
        "/html"
    ],
    "cpp_configPath": "",
    "css_indent_size": 4,
    "css_indent_char": " ",
    "css_selector_separator_newline": false,
    "css_newline_between_rules": false,
    "css_preserve_newlines": false,
    "css_wrap_line_length": 0,
    "css_indent_comments": true,
    "css_force_indentation": false,
    "css_convert_quotes": "none",
    "css_align_assignments": false,
    "css_no_lead_zero": false,
    "css_configPath": "",
    "css_predefinedConfig": "csscomb",
    "d_configPath": "",
    "gherkin_indent_size": 4,
    "gherkin_indent_char": " ",
    "fortran_emacs_path": "",
    "fortran_emacs_script_path": "",
    "html_indent_inner_html": false,
    "html_indent_size": 4,
    "html_indent_char": " ",
    "html_brace_style": "collapse",
    "html_indent_scripts": "normal",
    "html_wrap_line_length": 250,
    "html_wrap_attributes": "auto",
    "html_wrap_attributes_indent_size": 4,
    "html_preserve_newlines": true,
    "html_max_preserve_newlines": 10,
    "html_unformatted": [
        "a",
        "span",
        "img",
        "bdo",
        "em",
        "strong",
        "dfn",
        "code",
        "samp",
        "kbd",
        "var",
        "cite",
        "abbr",
        "acronym",
        "q",
        "sub",
        "sup",
        "tt",
        "i",
        "b",
        "big",
        "small",
        "u",
        "s",
        "strike",
        "font",
        "ins",
        "del",
        "pre",
        "address",
        "dt",
        "h1",
        "h2",
        "h3",
        "h4",
        "h5",
        "h6"
    ],
    "html_end_with_newline": false,
    "html_extra_liners": [
        "head",
        "body",
        "/html"
    ],
    "java_configPath": "",
    "js_indent_size": 4,
    "js_indent_char": " ",
    "js_indent_level": 0,
    "js_indent_with_tabs": false,
    "js_preserve_newlines": true,
    "js_max_preserve_newlines": 10,
    "js_space_in_paren": false,
    "js_jslint_happy": false,
    "js_space_after_anon_function": false,
    "js_brace_style": "collapse",
    "js_break_chained_methods": false,
    "js_keep_array_indentation": false,
    "js_keep_function_indentation": false,
    "js_space_before_conditional": true,
    "js_eval_code": false,
    "js_unescape_strings": false,
    "js_wrap_line_length": 0,
    "js_end_with_newline": false,
    "js_end_with_comma": false,
    "markdown_gfm": true,
    "markdown_yaml": true,
    "markdown_commonmark": false,
    "objectivec_configPath": "",
    "pawn_configPath": "",
    "perl_perltidy_profile": "",
    "php_cs_fixer_path": "",
    "php_fixers": "",
    "php_level": "",
    "php_phpcbf_path": "",
    "php_standard": "",
    "python_max_line_length": 79,
    "python_indent_size": 4,
    "python_ignore": [
        "E24"
    ],
    "python_sort_imports": false,
    "ruby_indent_size": 4,
    "ruby_rubocop_path": "",
    "ruby_indent_char": " ",
    "rust_rustfmt_path": "",
    "sql_indent_size": 4,
    "sql_keywords": "upper",
    "sql_identifiers": "unchanged",
    "vala_configPath": "",
    "language_apex_disabled": false,
    "language_apex_default_beautifier": "Uncrustify",
    "language_apex_beautify_on_save": false,
    "language_arduino_disabled": false,
    "language_arduino_default_beautifier": "Uncrustify",
    "language_arduino_beautify_on_save": false,
    "language_cs_disabled": false,
    "language_cs_default_beautifier": "Uncrustify",
    "language_cs_beautify_on_save": false,
    "language_c_disabled": false,
    "language_c_default_beautifier": "Uncrustify",
    "language_c_beautify_on_save": false,
    "language_coffeescript_disabled": false,
    "language_coffeescript_default_beautifier": "coffee-fmt",
    "language_coffeescript_beautify_on_save": false,
    "language_cfml_disabled": false,
    "language_cfml_default_beautifier": "Pretty Diff",
    "language_cfml_beautify_on_save": false,
    "language_cpp_disabled": false,
    "language_cpp_default_beautifier": "Uncrustify",
    "language_cpp_beautify_on_save": false,
    "language_css_disabled": false,
    "language_css_default_beautifier": "JS Beautify",
    "language_css_beautify_on_save": false,
    "language_csv_disabled": false,
    "language_csv_default_beautifier": "Pretty Diff",
    "language_csv_beautify_on_save": false,
    "language_d_disabled": false,
    "language_d_default_beautifier": "Uncrustify",
    "language_d_beautify_on_save": false,
    "language_ejs_disabled": false,
    "language_ejs_default_beautifier": "Pretty Diff",
    "language_ejs_beautify_on_save": false,
    "language_elm_disabled": false,
    "language_elm_default_beautifier": "elm-format",
    "language_elm_beautify_on_save": false,
    "language_erb_disabled": false,
    "language_erb_default_beautifier": "Pretty Diff",
    "language_erb_beautify_on_save": false,
    "language_erlang_disabled": false,
    "language_erlang_default_beautifier": "erl_tidy",
    "language_erlang_beautify_on_save": false,
    "language_gherkin_disabled": false,
    "language_gherkin_default_beautifier": "Gherkin formatter",
    "language_gherkin_beautify_on_save": false,
    "language_go_disabled": false,
    "language_go_default_beautifier": "gofmt",
    "language_go_beautify_on_save": false,
    "language_fortran_disabled": false,
    "language_fortran_default_beautifier": "Fortran Beautifier",
    "language_fortran_beautify_on_save": false,
    "language_handlebars_disabled": false,
    "language_handlebars_default_beautifier": "JS Beautify",
    "language_handlebars_beautify_on_save": false,
    "language_haskell_disabled": false,
    "language_haskell_default_beautifier": "stylish-haskell",
    "language_haskell_beautify_on_save": false,
    "language_html_disabled": false,
    "language_html_default_beautifier": "JS Beautify",
    "language_html_beautify_on_save": false,
    "language_java_disabled": false,
    "language_java_default_beautifier": "Uncrustify",
    "language_java_beautify_on_save": false,
    "language_js_disabled": false,
    "language_js_default_beautifier": "JS Beautify",
    "language_js_beautify_on_save": false,
    "language_json_disabled": false,
    "language_json_default_beautifier": "JS Beautify",
    "language_json_beautify_on_save": false,
    "language_jsx_disabled": false,
    "language_jsx_default_beautifier": "Pretty Diff",
    "language_jsx_beautify_on_save": false,
    "language_less_disabled": false,
    "language_less_default_beautifier": "Pretty Diff",
    "language_less_beautify_on_save": false,
    "language_markdown_disabled": false,
    "language_markdown_default_beautifier": "Tidy Markdown",
    "language_markdown_beautify_on_save": false,
    "language_marko_disabled": false,
    "language_marko_default_beautifier": "JS Beautify",
    "language_marko_beautify_on_save": false,
    "language_mustache_disabled": false,
    "language_mustache_default_beautifier": "JS Beautify",
    "language_mustache_beautify_on_save": false,
    "language_objectivec_disabled": false,
    "language_objectivec_default_beautifier": "Uncrustify",
    "language_objectivec_beautify_on_save": false,
    "language_pawn_disabled": false,
    "language_pawn_default_beautifier": "Uncrustify",
    "language_pawn_beautify_on_save": false,
    "language_perl_disabled": false,
    "language_perl_default_beautifier": "Perltidy",
    "language_perl_beautify_on_save": false,
    "language_php_disabled": false,
    "language_php_default_beautifier": "PHP-CS-Fixer",
    "language_php_beautify_on_save": false,
    "language_puppet_disabled": false,
    "language_puppet_default_beautifier": "puppet-lint",
    "language_puppet_beautify_on_save": false,
    "language_python_disabled": false,
    "language_python_default_beautifier": "autopep8",
    "language_python_beautify_on_save": false,
    "language_riot_disabled": false,
    "language_riot_beautify_on_save": false,
    "language_ruby_disabled": false,
    "language_ruby_default_beautifier": "Rubocop",
    "language_ruby_beautify_on_save": false,
    "language_rust_disabled": false,
    "language_rust_default_beautifier": "rustfmt",
    "language_rust_beautify_on_save": false,
    "language_sass_disabled": false,
    "language_sass_default_beautifier": "Pretty Diff",
    "language_sass_beautify_on_save": false,
    "language_scss_disabled": false,
    "language_scss_default_beautifier": "Pretty Diff",
    "language_scss_beautify_on_save": false,
    "language_spacebars_disabled": false,
    "language_spacebars_default_beautifier": "Pretty Diff",
    "language_spacebars_beautify_on_save": false,
    "language_sql_disabled": false,
    "language_sql_default_beautifier": "sqlformat",
    "language_sql_beautify_on_save": false,
    "language_svg_disabled": false,
    "language_svg_default_beautifier": "Pretty Diff",
    "language_svg_beautify_on_save": false,
    "language_swig_disabled": false,
    "language_swig_default_beautifier": "Pretty Diff",
    "language_swig_beautify_on_save": false,
    "language_tss_disabled": false,
    "language_tss_default_beautifier": "Pretty Diff",
    "language_tss_beautify_on_save": false,
    "language_twig_disabled": false,
    "language_twig_default_beautifier": "Pretty Diff",
    "language_twig_beautify_on_save": false,
    "language_typescript_disabled": false,
    "language_typescript_default_beautifier": "TypeScript Formatter",
    "language_typescript_beautify_on_save": false,
    "language_vala_disabled": false,
    "language_vala_default_beautifier": "Uncrustify",
    "language_vala_beautify_on_save": false,
    "language_visualforce_disabled": false,
    "language_visualforce_default_beautifier": "Pretty Diff",
    "language_visualforce_beautify_on_save": false,
    "language_xml_disabled": false,
    "language_xml_default_beautifier": "Pretty Diff",
    "language_xml_beautify_on_save": false,
    "language_xtemplate_disabled": false,
    "language_xtemplate_default_beautifier": "Pretty Diff",
    "language_xtemplate_beautify_on_save": false
}

Beautification options

Editor Options: Options from Atom Editor settings

{
    "_default": {
        "indent_size": 4,
        "indent_char": " ",
        "indent_with_tabs": false
    }
}

Config Options: Options from Atom Beautify package settings

{
    "apex": {
        "configPath": ""
    },
    "arduino": {
        "configPath": ""
    },
    "cs": {
        "configPath": ""
    },
    "c": {
        "configPath": ""
    },
    "cfml": {
        "indent_inner_html": false,
        "indent_size": 4,
        "indent_char": " ",
        "brace_style": "collapse",
        "indent_scripts": "normal",
        "wrap_line_length": 250,
        "wrap_attributes": "auto",
        "wrap_attributes_indent_size": 4,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "unformatted": [
            "a",
            "sub",
            "sup",
            "b",
            "i",
            "u"
        ],
        "end_with_newline": false,
        "extra_liners": [
            "head",
            "body",
            "/html"
        ]
    },
    "cpp": {
        "configPath": ""
    },
    "css": {
        "indent_size": 4,
        "indent_char": " ",
        "selector_separator_newline": false,
        "newline_between_rules": false,
        "preserve_newlines": false,
        "wrap_line_length": 0,
        "indent_comments": true,
        "force_indentation": false,
        "convert_quotes": "none",
        "align_assignments": false,
        "no_lead_zero": false,
        "configPath": "",
        "predefinedConfig": "csscomb"
    },
    "d": {
        "configPath": ""
    },
    "gherkin": {
        "indent_size": 4,
        "indent_char": " "
    },
    "fortran": {
        "emacs_path": "",
        "emacs_script_path": ""
    },
    "html": {
        "indent_inner_html": false,
        "indent_size": 4,
        "indent_char": " ",
        "brace_style": "collapse",
        "indent_scripts": "normal",
        "wrap_line_length": 250,
        "wrap_attributes": "auto",
        "wrap_attributes_indent_size": 4,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "unformatted": [
            "a",
            "span",
            "img",
            "bdo",
            "em",
            "strong",
            "dfn",
            "code",
            "samp",
            "kbd",
            "var",
            "cite",
            "abbr",
            "acronym",
            "q",
            "sub",
            "sup",
            "tt",
            "i",
            "b",
            "big",
            "small",
            "u",
            "s",
            "strike",
            "font",
            "ins",
            "del",
            "pre",
            "address",
            "dt",
            "h1",
            "h2",
            "h3",
            "h4",
            "h5",
            "h6"
        ],
        "end_with_newline": false,
        "extra_liners": [
            "head",
            "body",
            "/html"
        ]
    },
    "java": {
        "configPath": ""
    },
    "js": {
        "indent_size": 4,
        "indent_char": " ",
        "indent_level": 0,
        "indent_with_tabs": false,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "space_in_paren": false,
        "jslint_happy": false,
        "space_after_anon_function": false,
        "brace_style": "collapse",
        "break_chained_methods": false,
        "keep_array_indentation": false,
        "keep_function_indentation": false,
        "space_before_conditional": true,
        "eval_code": false,
        "unescape_strings": false,
        "wrap_line_length": 0,
        "end_with_newline": false,
        "end_with_comma": false
    },
    "markdown": {
        "gfm": true,
        "yaml": true,
        "commonmark": false
    },
    "objectivec": {
        "configPath": ""
    },
    "pawn": {
        "configPath": ""
    },
    "perl": {
        "perltidy_profile": ""
    },
    "php": {
        "cs_fixer_path": "",
        "fixers": "",
        "level": "",
        "phpcbf_path": "",
        "standard": ""
    },
    "python": {
        "max_line_length": 79,
        "indent_size": 4,
        "ignore": [
            "E24"
        ],
        "sort_imports": false
    },
    "ruby": {
        "indent_size": 4,
        "rubocop_path": "",
        "indent_char": " "
    },
    "rust": {
        "rustfmt_path": ""
    },
    "sql": {
        "indent_size": 4,
        "keywords": "upper",
        "identifiers": "unchanged"
    },
    "vala": {
        "configPath": ""
    }
}

Home Options: Options from C:\Users\phill\.jsbeautifyrc

{
    "_default": {}
}

EditorConfig Options: Options from EditorConfig file

{
    "_default": {}
}

Project Options: Options from .jsbeautifyrc files starting from directory E:\github\HyRes\src\Riot-Tags and going up to root

[
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    }
]

Pre-Transformed Options: Combined options before transforming them given a beautifier's specifications

{
    "indent_size": 4,
    "indent_char": " ",
    "indent_with_tabs": false,
    "indent_inner_html": false,
    "brace_style": "collapse",
    "indent_scripts": "normal",
    "wrap_line_length": 250,
    "wrap_attributes": "auto",
    "wrap_attributes_indent_size": 4,
    "preserve_newlines": true,
    "max_preserve_newlines": 10,
    "unformatted": [
        "a",
        "span",
        "img",
        "bdo",
        "em",
        "strong",
        "dfn",
        "code",
        "samp",
        "kbd",
        "var",
        "cite",
        "abbr",
        "acronym",
        "q",
        "sub",
        "sup",
        "tt",
        "i",
        "b",
        "big",
        "small",
        "u",
        "s",
        "strike",
        "font",
        "ins",
        "del",
        "pre",
        "address",
        "dt",
        "h1",
        "h2",
        "h3",
        "h4",
        "h5",
        "h6"
    ],
    "end_with_newline": false,
    "extra_liners": [
        "head",
        "body",
        "/html"
    ]
}

Final Options

Final combined and transformed options that are used

{
    "inchar": " ",
    "insize": 4,
    "objsort": false,
    "preserve": "all",
    "comments": "indent",
    "vertical": "none",
    "wrap": 250,
    "methodchain": true
}

Results

Beautified File Contents:

<help-video>

    <div>
        <iframe src="{ opts.video }" width="1279" height="720" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>

    <script type="babel">
        this.root.addEventListener('click', e => { if (e.target === this.root) { document.documentElement.removeChild(this.root); } });
    </script>

</help-video>

Original vs. Beautified Diff:

Index: E:\github\HyRes\src\Riot-Tags\help-video.tag
===================================================================
--- E:\github\HyRes\src\Riot-Tags\help-video.tag	original
+++ E:\github\HyRes\src\Riot-Tags\help-video.tag	beautified
@@ -1,17 +1,11 @@
-<help-video>
-
-    <div>
-        <iframe src="{ opts.video }"
-                width="1279" height="720" frameborder="0"
-                webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
-    </div>
-
-    <script type="babel">
-        this.root.addEventListener('click', e => {
-            if (e.target === this.root) {
-                document.documentElement.removeChild(this.root);
-            }
-        });
-    </script>
-
-</help-video>
+<help-video>
+
+    <div>
+        <iframe src="{ opts.video }" width="1279" height="720" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
+    </div>
+
+    <script type="babel">
+        this.root.addEventListener('click', e => { if (e.target === this.root) { document.documentElement.removeChild(this.root); } });
+    </script>
+
+</help-video>
\ No newline at end of file

Logs

2016-03-04T15:36:12.294Z - info: [beautifiers\index.coffee] beautify <help-video>

    <div>
        <iframe src="{ opts.video }"
                width="1279" height="720" frameborder="0"
                webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>

    <script type="babel">
        this.root.addEventListener('click', e => {
            if (e.target === this.root) {
                document.documentElement.removeChild(this.root);
            }
        });
    </script>

</help-video>
 [ { _default: { indent_size: 4, indent_char: ' ', indent_with_tabs: false } },
  { apex: { configPath: '' },
    arduino: { configPath: '' },
    cs: { configPath: '' },
    c: { configPath: '' },
    cfml: 
     { indent_inner_html: false,
       indent_size: 4,
       indent_char: ' ',
       brace_style: 'collapse',
       indent_scripts: 'normal',
       wrap_line_length: 250,
       wrap_attributes: 'auto',
       wrap_attributes_indent_size: 4,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       unformatted: [Object],
       end_with_newline: false,
       extra_liners: [Object] },
    cpp: { configPath: '' },
    css: 
     { indent_size: 4,
       indent_char: ' ',
       selector_separator_newline: false,
       newline_between_rules: false,
       preserve_newlines: false,
       wrap_line_length: 0,
       indent_comments: true,
       force_indentation: false,
       convert_quotes: 'none',
       align_assignments: false,
       no_lead_zero: false,
       configPath: '',
       predefinedConfig: 'csscomb' },
    d: { configPath: '' },
    gherkin: { indent_size: 4, indent_char: ' ' },
    fortran: { emacs_path: '', emacs_script_path: '' },
    html: 
     { indent_inner_html: false,
       indent_size: 4,
       indent_char: ' ',
       brace_style: 'collapse',
       indent_scripts: 'normal',
       wrap_line_length: 250,
       wrap_attributes: 'auto',
       wrap_attributes_indent_size: 4,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       unformatted: [Object],
       end_with_newline: false,
       extra_liners: [Object] },
    java: { configPath: '' },
    js: 
     { indent_size: 4,
       indent_char: ' ',
       indent_level: 0,
       indent_with_tabs: false,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       space_in_paren: false,
       jslint_happy: false,
       space_after_anon_function: false,
       brace_style: 'collapse',
       break_chained_methods: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       space_before_conditional: true,
       eval_code: false,
       unescape_strings: false,
       wrap_line_length: 0,
       end_with_newline: false,
       end_with_comma: false },
    markdown: { gfm: true, yaml: true, commonmark: false },
    objectivec: { configPath: '' },
    pawn: { configPath: '' },
    perl: { perltidy_profile: '' },
    php: 
     { cs_fixer_path: '',
       fixers: '',
       level: '',
       phpcbf_path: '',
       standard: '' },
    python: 
     { max_line_length: 79,
       indent_size: 4,
       ignore: [Object],
       sort_imports: false },
    ruby: { indent_size: 4, rubocop_path: '', indent_char: ' ' },
    rust: { rustfmt_path: '' },
    sql: { indent_size: 4, keywords: 'upper', identifiers: 'unchanged' },
    vala: { configPath: '' } },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} } ] HTML (Riot tag) E:\github\HyRes\src\Riot-Tags\help-video.tag undefined
2016-03-04T15:36:12.295Z - verbose: [beautifiers\index.coffee]  indent_size=4, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, configPath=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, no_lead_zero=false, configPath=, predefinedConfig=csscomb, configPath=, indent_size=4, indent_char= , emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, end_with_comma=false, gfm=true, yaml=true, commonmark=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, phpcbf_path=, standard=, max_line_length=79, indent_size=4, ignore=[E24], sort_imports=false, indent_size=4, rubocop_path=, indent_char= , rustfmt_path=, indent_size=4, keywords=upper, identifiers=unchanged, configPath=, , , , , , 
2016-03-04T15:36:12.295Z - verbose: [beautifiers\index.coffee] [ { name: 'Riot.js',
    description: 'Riot.js HTML based templating language',
    namespace: 'riot',
    fallback: [ 'html', 'mustache' ],
    grammars: [ 'Riot.js', 'HTML (Riot Tag)' ],
    extensions: [ 'tag' ],
    defaultBeautifier: 'JS Beautify',
    options: [],
    beautifiers: 
     [ 'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff' ] } ] 'HTML (Riot tag)' 'tag'
2016-03-04T15:36:12.295Z - verbose: [beautifiers\index.coffee] Language Riot.js supported
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] getOptions selections [ 'html', 'mustache', 'riot' ] indent_size=4, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, configPath=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, no_lead_zero=false, configPath=, predefinedConfig=csscomb, configPath=, indent_size=4, indent_char= , emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, end_with_comma=false, gfm=true, yaml=true, commonmark=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, phpcbf_path=, standard=, max_line_length=79, indent_size=4, ignore=[E24], sort_imports=false, indent_size=4, rubocop_path=, indent_char= , rustfmt_path=, indent_size=4, keywords=upper, identifiers=unchanged, configPath=, , , , , , 
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] true indent_size=4, indent_char= , indent_with_tabs=false
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] options html indent_size=4, indent_char= , indent_with_tabs=false
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] options mustache indent_size=4, indent_char= , indent_with_tabs=false
2016-03-04T15:36:12.296Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options riot indent_size=4, indent_char= , indent_with_tabs=false
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] true configPath=, configPath=, configPath=, configPath=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, no_lead_zero=false, configPath=, predefinedConfig=csscomb, configPath=, indent_size=4, indent_char= , emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, end_with_comma=false, gfm=true, yaml=true, commonmark=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, phpcbf_path=, standard=, max_line_length=79, indent_size=4, ignore=[E24], sort_imports=false, indent_size=4, rubocop_path=, indent_char= , rustfmt_path=, indent_size=4, keywords=upper, identifiers=unchanged, configPath=
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options html indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html]
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options html indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html]
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options mustache indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html]
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.297Z - verbose: [beautifiers\index.coffee] options riot indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html]
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] true 
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] true 
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] true 
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] true 
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] true 
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] true 
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options html
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options mustache
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot undefined
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] options riot
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] HTML (Riot tag) name=Riot.js, description=Riot.js HTML based templating language, namespace=riot, fallback=[html, mustache], grammars=[Riot.js, HTML (Riot Tag)], extensions=[tag], defaultBeautifier=JS Beautify, options=[], beautifiers=[Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff]
2016-03-04T15:36:12.298Z - verbose: [beautifiers\index.coffee] language options: {
    "indent_size": 4,
    "indent_char": " ",
    "indent_with_tabs": false,
    "indent_inner_html": false,
    "brace_style": "collapse",
    "indent_scripts": "normal",
    "wrap_line_length": 250,
    "wrap_attributes": "auto",
    "wrap_attributes_indent_size": 4,
    "preserve_newlines": true,
    "max_preserve_newlines": 10,
    "unformatted": [
        "a",
        "span",
        "img",
        "bdo",
        "em",
        "strong",
        "dfn",
        "code",
        "samp",
        "kbd",
        "var",
        "cite",
        "abbr",
        "acronym",
        "q",
        "sub",
        "sup",
        "tt",
        "i",
        "b",
        "big",
        "small",
        "u",
        "s",
        "strike",
        "font",
        "ins",
        "del",
        "pre",
        "address",
        "dt",
        "h1",
        "h2",
        "h3",
        "h4",
        "h5",
        "h6"
    ],
    "end_with_newline": false,
    "extra_liners": [
        "head",
        "body",
        "/html"
    ]
}
2016-03-04T15:36:12.299Z - verbose: [beautifiers\index.coffee] Riot.js E:\github\HyRes\src\Riot-Tags\help-video.tag { indent_size: 4,
  indent_char: ' ',
  indent_with_tabs: false,
  indent_inner_html: false,
  brace_style: 'collapse',
  indent_scripts: 'normal',
  wrap_line_length: 250,
  wrap_attributes: 'auto',
  wrap_attributes_indent_size: 4,
  preserve_newlines: true,
  max_preserve_newlines: 10,
  unformatted: 
   [ 'a',
     'span',
     'img',
     'bdo',
     'em',
     'strong',
     'dfn',
     'code',
     'samp',
     'kbd',
     'var',
     'cite',
     'abbr',
     'acronym',
     'q',
     'sub',
     'sup',
     'tt',
     'i',
     'b',
     'big',
     'small',
     'u',
     's',
     'strike',
     'font',
     'ins',
     'del',
     'pre',
     'address',
     'dt',
     'h1',
     'h2',
     'h3',
     'h4',
     'h5',
     'h6' ],
  end_with_newline: false,
  extra_liners: [ 'head', 'body', '/html' ] } indent_size=4, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, configPath=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, no_lead_zero=false, configPath=, predefinedConfig=csscomb, configPath=, indent_size=4, indent_char= , emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=4, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=4, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, span, img, bdo, em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, u, s, strike, font, ins, del, pre, address, dt, h1, h2, h3, h4, h5, h6], end_with_newline=false, extra_liners=[head, body, /html], configPath=, indent_size=4, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, end_with_comma=false, gfm=true, yaml=true, commonmark=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, phpcbf_path=, standard=, max_line_length=79, indent_size=4, ignore=[E24], sort_imports=false, indent_size=4, rubocop_path=, indent_char= , rustfmt_path=, indent_size=4, keywords=upper, identifiers=unchanged, configPath=, , , , , , 
2016-03-04T15:36:12.299Z - verbose: [beautifiers\index.coffee] beautifiers 0=Pretty Diff
2016-03-04T15:36:12.299Z - verbose: [beautifiers\index.coffee] beautifier Pretty Diff
2016-03-04T15:36:12.301Z - verbose: [beautifiers\beautifier.coffee] prettydiff inchar= , insize=4, objsort=false, preserve=all, cssinsertlines=undefined, comments=indent, force=undefined, quoteConvert=undefined, vertical=none, wrap=250, space=undefined, noleadzero=undefined, endcomma=undefined, methodchain=true, ternaryline=undefined, source=<help-video>

    <div>
        <iframe src="{ opts.video }"
                width="1279" height="720" frameborder="0"
                webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>

    <script type="babel">
        this.root.addEventListener('click', e => {
            if (e.target === this.root) {
                document.documentElement.removeChild(this.root);
            }
        });
    </script>

</help-video>
, lang=handlebars, mode=beautify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment