Looking Sideways
  • Home
Tagged

javascript

A collection of 2 posts

ghost

Super Simple Code Highlighting for Ghost

Ghost has a neat feature called Code Injection that allows you to add any code you want to your blog's header and footer without messing around in theme files. You can use Code Injection to add code highlighting to your blog's code blocks really quickly... First, open your admin area

  • Kevin Ansfield
Kevin Ansfield Jul 15, 2017 • 2 min read
dev-notes

Ember.computed.apply

When a Computed Property needs to observe a long list of properties, especially if that list can be generated at runtime, it can save a lot of effort and maintenance headaches to generate that CP dynamically. An example from Ghost's editor controller mixin: import PostModel from 'ghost/models/post'; const

  • Kevin Ansfield
Kevin Ansfield Jan 12, 2016 • 2 min read
Looking Sideways © 2022
Powered by Ghost