Skip to content

File code insertion #1

Description

@t-montes

The component should be able to also render the code inside of a code file, it could be called in both ways.

The current, with inline code:

<code-viewer title="main.js">
console.log("Hi!");
</code-viewer>

Also with a code file:

<code-viewer file="main.js"/>

where main.js contains:

console.log("Hi!");

If the user mistakenly uses both, one should be preferred.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions