Published on

Introducing Smart Contexts

XCode settings

Live Code Views are pushed to the next level!


Embedding live views from your code right into your notes was designed to be as simple as possible: paste the token in your code, adjust how many lines how you want to show, done.

That's fine, but sometimes it would be nice to provide more context as to where this code lives within the file.

With Smart Contexts, you are now able to, and here is what it looks like:

smart-contexts
A note without smart contexts.
smart-contexts
That same note, with smart context.

How does it work?

  • Check the "Use Context" option
  • Type in some text that matches a line above the token that you want to reveal.
  • Repeat with more, if required.