Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The highlight does not work #2

Open
melezhik opened this issue Jan 10, 2021 · 5 comments
Open

The highlight does not work #2

melezhik opened this issue Jan 10, 2021 · 5 comments

Comments

@melezhik
Copy link

Hi! I am trying to follow the documentation:

<script src="https://cdn.jsdelivr.net/npm/highlightjs"></script>
<script src="https://cdn.jsdelivr.net/npm/highlightjs-raku"></script>
<script>
  hljs.registerLanguage("raku", window.hljsDefineVue);
  hljs.initHighlightingOnLoad();
</script>

But it does not produce a desired effect, the code inside per.code is not highlighted:

<pre>
<code class="language-raku">
<! -- some Raku code ->
</code>
</pre>

May I can take a look at working example somewhere?

@melezhik melezhik changed the title The highlight does now work The highlight does not work Jan 10, 2021
@joshgoebel
Copy link
Member

Raku really should be shipping a dist folder with a CDN module.

@joshgoebel
Copy link
Member

@finanalyst Is there any reason you don't build and ship the dist folder so users can use this easily with a single line of code and it "just works"?

@joshgoebel
Copy link
Member

Sorry, didn't even realize this was the Raku repository until after I'd responded. ;)

@melezhik
Copy link
Author

Yeah, I should have asked @finanalyst

@finanalyst
Copy link
Collaborator

The work on this plugin has not been finished. It should not yet be publicly available.

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

No branches or pull requests

3 participants