Adding Code or Math to a Note
In Timeline, you can add code or math to a note. Here's how:
Adding Code
- Open a note.
- Click the plus (+) icon in the bottom bar. This opens a small popup underneath.
- Select 'Code' from the popup.
- You'll notice that a code block has appeared in the editor with a cog option. This allows you to change the language that you are writing in.
- This code block provides basic syntax highlighting to make it easier to add code to your note.
Adding Math
- Open a note.
- Click the plus (+) icon in the bottom bar. This opens a small popup underneath.
- Select 'Math' from the popup.
- A math block will appear in the editor. This block allows you to write LaTeX in a text field.
- The editor takes the LaTeX from this text field, converts it into an image, and displays it. This makes it easy to add math equations to a note.