I’ve been using minilatex.lamdera.app both for writing mathy class notes and for taking random notes of all sorts. The search feature is pretty good at finding what I am looking for, but I decided to try something different: Smart Notebooks. The idea is that you write one or more queries in the document, e.g.,@search[elm], then press refresh to get a “notebook” whose table of contents consists of links that match they query. Click on any one of these links to view the document — like the one you see below.
Here is a demo smart notebook You won’t be able to edit or run he search, but you do see the result of the search. Open an account at minilatex.lamdera.app and try it out if you are interested A more technical discussion continues below the image.
The app is built with lamdera, which is awesome.
Notes can be in Markdown, MiniLaTeX, or plain text. The markdown supports math, LaTeX style. Except for plain text, code blocks can use syntax highlighting via Pablo Hirafuji’s Elm Syntax Highlight package
Enclose strings with spaces in parentheses, e.g., @searc[text=(Niels Bohr)].
The @search[term term term …] construct defines a search on the conjunction of those terms. Suppose you say
Mathy note: the queries formed in this way are in so-called *disjunctive normal form," i.e., a disjunction of conjunctions. All queries involving the available primitives can be formulated this way.