Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Adding Code Editors

Dalton Menezes edited this page Sep 19, 2019 · 2 revisions

Note: Only stylish-hub users can see code editors on markdown files.

To add one or more code editors, just add an empty p tag for each one with the following parameters:

alt

Here you must specify the type of the content to be displayed, in this case type:code.

value

The URL for your code.

Example

<p alt="type:code default-tab:css theme:dark" value="https://codepen.io/kylewetton/pen/bGbaazX"></p>

Note: default-tab and theme only works for Codepen links.

Support

  • Codepen
  • CodeSandbox
  • Repl.it
Clone this wiki locally