NewsBlur/blog/_posts/tumblr/2014-01-06-three-new-features-for-the-web-syntax.md
2021-06-22 13:05:48 -04:00

1.4 KiB
Raw Blame History

layout title date tags tumblr_url redirect_from
post Three new features for the web: syntax highlighting for source code, adjustable video widths, and footnotes 2014-01-06T12:46:00-05:00
web
https://blog.newsblur.com/post/72471675355/three-new-features-for-the-web-syntax /post/72471675355/three-new-features-for-the-web-syntax/

A few small new features to get your first full week of the new year started off right.

Syntax highlight for source code

A common feature request has been automatic syntax highlighting in blog posts. This feature uses auto-detection to highlight code. For short snippets of code, this means that they could have inaccurate highlighting, although in testing its not so bad to have a few words in various colors. But for any substantial amount of code, youll have an easier time following along with syntax highlighting.

Video fitting

Videos from Youtube and Vimeo (and a few others) are now stretched to fit the window, resulting in bigger video previews.

Footnotes

Previously, if you clicked the little footnote reference1, you would be taken to a new window. The Feed view now smoothly scrolls you to the footnote, where you can then return back to the footnote. Easy!


Like this. ↩︎