Skip to content

jsbox as PRE tag replacement #13

@marcopeg

Description

@marcopeg

JSBox should be used just as PRE/CODE tag replacement:

<pre data-jsbox>alert('hello world');</pre> 
<pre data-jsbox data-html><h1>Hello World</h1></pre>
<pre data-jsbox data-css>h1 { color:red }</pre>

The main focus should be on Javascript because there is the great benefit to show code and run it live with the possibility of modifications.

NOTE: This should be just a simple modification of the jQuery plugin layer in order to recognise this particular syntax in the page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions