Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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