Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "highlighter"
-
TAKE A LOOK AT MY OTHER RANT FIRST!
---
SYNTAX THEME SELECTION
---
In this rant you can set your theme for the syntax highlighter!
Just ++ the comment with your preferred theme.
The bot checks for the "<user> ++'d your comment!" notification and stores your selection!
(When you ++ multiple themes, your theme will be the one you ++'d the last)
Then, next time you request a syntax highlighting (see other rant on how to do that), that theme will be used!
Please don't post any comments here if possible!!!
(You can post comments and ask questions in the other rant)
Feel free to ++ this rant tho ;D
---
Have fun and thank you for using this bot!28 -
```
Greetings @dfox @trogus, et al,
Here is some feedback with aspirations for the backlog.
I think it would be a good addition in the devRant UI if we could paste in code snippets and have that code display with proper fonts and syntax formatting, and even ideally with highlighting by language.
Currently, if we paste in any code or text for that matter it is translated into a sans-serif font (14px Helvetica Regular on webapp) which is fine for the poetic prose from our fine and noble devRant colleagues, but not ideal for shared monospace snippets of lesser and grand design.
Here are two websites that provide conversion of code snippets into formatted syntax, and HTML. http://hilite.me/ and http://markup.su/highlighter/
Both of these sites provide an API so highlighters can be used as a service.
Mockup attached.
Thank you @jaaku for your post, and welcome.
Cheers
devRant for the win
```13 -
I finally got to releasing a devRant client for Android!
Note that many features are still missing but will be comming soon.
Main features (but not limited to :) are
fresh UI w. themes
animation of @SIMMORSAL (devRantNative)
basic code highlighter (alpha)
landscape + resizeable without breaking
userinfo in feed (optional)
surprise rant
Github and Apk https://github.com/joewilliams007/...9 -
> be me
> change theme in vscode
> syntax highlighter stops working for php
> panic mode
> removed personal settings for php
> removed all settings
> back on default
> ohshitno.xml
> find a github issue, marked as closed
> sleep
> wake up
> start working
> cannot work without syntax highlight
> find another github issue, saying the theme I want doesn't supports syntax highlighting
> fml.xml
> back on default2 -
My first memories of the very first computer i got?
Not sure exactly when that was but all the first memories are of me playing games:
Some paper plane game on the really old macs (giant screens i think it was highlighter orange)
My auntie also had a computer when i was little i'd visit her for the holidays and j played some kid game about dogs.
When we got our first computer i remember some 2d metroid like game but it was where you play as some lady with a whip.
Also duke nukem 1, one of the games me and my dad played together.
Then later on we got a win98 computer i played age of empires and solitaire!
(i used to ride around on my bike with a sword pretending i was a cataphract LOL, i was never very good at RTS games when i was little so i'd build things and not have room for units to move, i kept building houses thinking you need a lot lol, me and the AI were at a stalemate, most because the buildings were in the way)
I remember my teacher giving me tips about age of empires when i was in primary, one of my favourite teachers too.
Good times -
So today I thought I’ll try svelte. It was an horrible experience if I compare it to stencil.
I have to install four extensions just to make the file format working properly.
Half of the intellisense is wrong or just slow.
The formatter is not integrated as an vs-code formatter, therefor it can’t format on save automatically.
The source maps do indeed work, but is quite wonky at times. Typescript source code is shown as-is with types, which breaks chrome’s syntax highlighter.
Personally, I dislike template languages simply because I always have to look at the docs for the correct usage, just let me use the stuff I know from JavaScript!
I could also rant about a few small things like the on:something syntax, but eh, that’s it for now. I don’t think I’ll understand why so many like it.3