Metadata-Version: 2.1
Name: jsfiddle-build
Version: 2020.7.1
Summary: build html file from jsfiddle files
Home-page: https://github.com/andrewp-as-is/jsfiddle-build.py
License: Unlicense
Description: <!--
        https://readme42.com
        -->
        
        
        [![](https://img.shields.io/pypi/v/jsfiddle-build.svg?maxAge=3600)](https://pypi.org/project/jsfiddle-build/)
        [![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
        
        ### Installation
        ```bash
        $ [sudo] pip install jsfiddle-build
        ```
        
        #### How it works
        [jsfiddle github repo](https://docs.jsfiddle.net/github-integration/untitled-1):
        ```
        .
        ├── build.html          generated
        ├── demo.html           required
        ├── demo.css            optional
        ├── demo.js             optional
        ├── demo.details        optional
        ```
        
        [jsfiddle github gist](https://docs.jsfiddle.net/github-integration/untitled):
        ```
        .
        ├── build.html          generated
        ├── fiddle.html         required
        ├── fiddle.css          optional
        ├── fiddle.js           optional
        ├── fiddle.manifest     optional
        ```
        
        
        `build.html`:
        ```html
        <html>
        <head>
        <title>{title}</title>
        {resources}
        <style type="text/css">
            {css}
        </style>
        <script type="text/javascript">
        window.onload=function(){
            {js}
        }
        </script>
        </head>
        <body>
            {html}
        </body>
        </html>
        ```
        
        #### Examples
        ```bash
        $ find . -name "*.html" ! -name "build.*" | xargs python -m jsfiddle_build
        ```
        
        ---
        paths with spaces:
        
        OS|speed|command
        -|-|-
        any|slow|`find . -name "*.html" ! -name "build.*" -exec python -m jsfiddle_build {} \;`
        Linux|fast|`find . -name "*.html" ! -name "build.*" -print0 \| xargs -d '\n' python -m jsfiddle_build`
        macOS|fast|`find . -name "*.html" ! -name "build.*" -print0 \| xargs -0 python -m jsfiddle_build`
        
        #### Related
        +   [`jsfiddle-build.py` - build `build.html` from jsfiddle files](https://pypi.org/project/jsfiddle-build/)
        +   [`jsfiddle-factory.py` - jsfiddles mass production](https://pypi.org/project/jsfiddle-build/)
        +   [`jsfiddle-generator.py` - jsfiddle files generator](https://pypi.org/project/jsfiddle-generator/)
        +   [`jsfiddle-github.py` - jsfiddle github integration helper](https://pypi.org/project/jsfiddle-github/)
        +   [`jsfiddle-readme-generator.py` - generate jsfiddle `README.md`](https://pypi.org/project/jsfiddle-readme-generator/)
        
        #### Links
        +   [Display fiddle from a Github repository](https://docs.jsfiddle.net/github-integration/untitled-1)
        +   [Display fiddle from Gist](https://docs.jsfiddle.net/github-integration/untitled)
        
        <p align="center">
            <a href="https://readme42.com/">readme42.com</a>
        </p>
Keywords: jsfiddle
Platform: UNKNOWN
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
