Skip to content

[help wanted] how to use css options in parameters #66

@shellRaining

Description

@shellRaining

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! 😀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions