question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

First off, thanks for making this awesome plugin!

I suggest not requiring JavaScript for basic usage. Lots of people aren’t comfortable with it. Have a codeflask class that when people use it, these elements are automatically made into editors.

Similarly, default language can just be defined on an ancestor, like <body class="language-css">: This is just basic Prism.js functionality, you don’t even need to implement it yourself 😃 Just include it in the docs.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
lobocommented, Mar 4, 2019

I will implement it tomorrow.

2reactions
pirannacommented, Oct 9, 2015

I think it could be done using WebComponents, for example creating a new “editor” or “codeflask” tag. For the default languaje, is better to use data attributes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web APIs - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >
Web APIs - MDN Web Docs - Mozilla
Below is a list of all the APIs and interfaces (object types) that you may be ... HTML DOM · HTML Drag and...
Read more >
HTML APIs: What They Are And How To Design A Good One
HTML APIs usually consist of certain class and attribute patterns that can be used on existing HTML. With Web Components, even custom element ......
Read more >
Explain API's Available in HTML5 - GeeksforGeeks
API stands for Application Programming Interface. An API is a set of pre-built programs that can be used with the help of JavaScript....
Read more >
HTML APIs in Depth - Medium
It's called the curse of knowledge. When beginners of HTML/CSS struggle to write code in JavaScript, that's where HTML5 APIs come to their ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found