Comments (5)
After an initial look I think I'm leaning towards shjs with sunburst theme shown here.
from pockethub.
That example renders well on my android browser, very nice. Worth noting that shjs is GPLv3.
from pockethub.
Good point, I made a commit that uses google-code-prettify (apache licensed) in the gist source viewer.
We can play around and tweak it for now and see how it goes
from pockethub.
Switched to using SyntaxHighlighter as it supports more languages and has a line number column.
The downside is where google-code-prettify sniffs for the language, you have to be explicit with SyntaxHighlighter
which adds a bit of gnarly code in Java to ensure that a highlighter brush is always applied.
from pockethub.
Closing now, may revisit if a better solution is found.
from pockethub.
Related Issues (20)
- Press "+" Button Nothing Happens.
- Crash when pull-to-refresh at the home page
- Issue search option disappear when no opened issues HOT 1
- Assignee cannot be selected when create an issue
- Milestone can not be added when edit/create an issue HOT 2
- SVG images should not render as code HOT 1
- The code style is not displayed
- Relative links in markdown files don't work
- IssueActivity doesn't remember state of its fragments
- Unstar button for my gist
- [question] What's the current recommended mode of using the app, GPlay, self-build? HOT 1
- Remove random gist button HOT 1
- Move towards being a single activity app
- Do you support F-droid inclusion? HOT 1
- Gugo
- Image (.png) resizing issue.
- Image resize not working. HOT 2
- How about migrating the project from java to kotlin.
- Some user profile images don't load
- Installer from github using source
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 pockethub.