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

PrismJS integration with Uno #39

Open
plingampally opened this issue Sep 18, 2014 · 0 comments
Open

PrismJS integration with Uno #39

plingampally opened this issue Sep 18, 2014 · 0 comments

Comments

@plingampally
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant