Comments (1)
Hey Hamid and thanks for taking the time to post.
Unfortunately the way that this website does code sections is not good in terms of the markup. If you look at the actual DOM that is used (which is what Just Read uses), it treats it like a bunch of divs. If the code used "normal" code blocks (by that I mean that is used <pre>
elements to format the code) Just Read would render it with the indentation. But in order for Just Read to support code sections on this website, you'd have to load EnlighterJS
.
In theory one could detect if EnlighterJS is trying to be used, load the JS for it via a CDN, and render it that way. But unfortunately that would not be allowed due to restrictions that the various web stores (like Chrome's and Firefox's) have for restrictions. So you could add this ability for Just Read yourself if you wanted to but you could only use that version of Just Read for yourself.
The other alternative is that Just Read could come bundled with EnlighterJS, but given it's not very widely used and not maintained I am not willing to do that.
So this is a won't-fix. Sorry about that.
from just-read.
Related Issues (20)
- text-decoration doesn't seem to work HOT 3
- Option to remove floating icon to "add a comment" HOT 1
- RSS feed for shared pages HOT 2
- Share Article button not working HOT 8
- Removing highlight colour instead of text HOT 2
- Reddit is Borked HOT 2
- Add ChatGPT summarization on click HOT 21
- Works great but does not support 'Auto Copy' extension HOT 1
- icon menu ‘select content to read’ lost in ver5.3.1 HOT 1
- Small SVG blown up to large white block HOT 3
- Code blocks are condensed into one line HOT 4
- Comic Dak Mode
- Wrong text extracted from page on defenseone.com HOT 2
- allow to specify the openai API endpoint base url HOT 2
- Just Read fails to open due to invalid HTML attribute HOT 5
- Let Summarizer handle additional response types HOT 7
- Theme switching doesn't work (6.0.4) HOT 2
- Please add missing LICENSE HOT 2
- Partial display HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just-read.