+
Skip to content
This repository was archived by the owner on Jun 9, 2018. It is now read-only.
This repository was archived by the owner on Jun 9, 2018. It is now read-only.

PrismJS integration with Uno #39

@plingampally

Description

@plingampally

I tried adding PrisimJS (syntax code highlighting) to the Uno theme, however, Prism was not able to parse the suggested way of making a code block, eg.

```language-javascript line-numbers
 var syntax = new AwesomeFeature();
```

Instead, I had to explicitly add the pre and code blocks, eg.

<pre class="line-numbers"><code class="language-javascript">
var syntax = new AwesomeFeature();</code></pre>

I am submitting this here to see if someone has found a cleaner approach to using PrismJS with Uno?

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载