My new contributions to the Hive Condenser and Wallet apps.
## Context
I have been involved (voluntarily) with the development of the Condenser & Wallet apps (that are powering https://hive.blog and https://wallet.hive.blog) for quite a while now. There are other great frontends to Hive out there such as https://peakd.com and https://ecency.com but I have always been more or less faithful with the Condenser.
This is a regular report on my new contributions. Some of the new work below might still be in test and not yet deployed.
## Add highlight syntax to code blocks in blog posts
There was [a request for syntax highlighting](https://gitlab.syncad.com/hive/condenser/-/issues/115) on posts. We indeed have some developers sharing code on the platform. So I tested integrating PrismJS and HighlightJS. I picked HighlightJS due to the way it works nicely with the Condenser.
However, there were some concerns that HighlightJS package is 270KB+ which might be a problem for mobile phone users on a slow bandwidth. So this change might not get approved for deployment to production. See my next contribution below instead.
![Syntax Highlighter](https://gitlab.syncad.com/hive/condenser/uploads/f5417cdefb5d92bdca036ab9c1d83992/Screen_Shot_2021-04-15_at_2.47.54_pm.jpg)
Merge request: https://gitlab.syncad.com/hive/condenser/-/merge_requests/234
## Supporting GitHub's GIST embeds
@good-karma suggested that instead of highlighting syntax, we could simply add support for [GIST](http://gist.github.com/) embedded views. [GIST is a tool allowing you to share code snippets or data excerpts](http://gist.github.com/). It also has syntax highlighting so integrating it to the Condenser is lightweight.
There is one downside to the method though: old posts not using GIST won't have their code highlighted.
![GitHub GIST embeds](https://gitlab.syncad.com/hive/condenser/uploads/45a0e2fb10e2f634c871cfdedd2c5e6e/Screen_Shot_2021-04-17_at_9.19.56_pm.jpg)
Merge request: https://gitlab.syncad.com/hive/condenser/-/merge_requests/238
Thank you @mahdiyari for helping with testing
## Display votes value breakdown
Aren't you sometimes curious as to what is the $ contribution of a vote on your post? This little change adds vote value to the voter list of a post.
![Votes value breakdown](https://gitlab.syncad.com/hive/condenser/uploads/b0cb8b7e54df71129624613193e8411e/Screen_Shot_2021-04-22_at_10.34.52_pm.jpg)
Merge request: https://gitlab.syncad.com/hive/condenser/-/merge_requests/242
---
**Vote for my witness**
[![Support @quochuy Witness.jpg](https://images.hive.blog/DQmecYTZemY8SwU6rrg7awhpNRBsehUp7ivk9RGyZsUUpVw/quochuy-hive-witness.jpg)](https://hivesigner.com/sign/account-witness-vote?witness=quochuy&approve=1)
On Hive, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Hive blockchain. [Vote for me via HiveSigner](https://hivesigner.com/sign/account-witness-vote?witness=quochuy&approve=1) to support my work for the community.
See: My new contributions to the Hive Condenser and Wallet apps. by @quochuy