javascript-playgrounds icon indicating copy to clipboard operation
javascript-playgrounds copied to clipboard

[help wanted] how to use css options in parameters

Open shellRaining opened this issue 7 months ago • 0 comments

very thanks for this awesome project, but I encounter some trouble when use it.

I use this project directly like below

const baseUrl = "//unpkg.com/javascript-playgrounds@^1.0.0/public/index.html";
const parameters = {
  code: `${text}`,
  css: `body {
    font-size: 40px;
  }`,
};

but I found that the font-size not work... the doc only show it is a string type, but not mentioned the format

so, could you provide more info about how to use it, very thanks! 😀

shellRaining avatar Jan 24 '24 13:01 shellRaining