~/talk

Code Samples that Actually Compile

Talkat CppCon 2019 · 2019-09-15..09-20· [developer-experience]
slides:none on file

Makes code examples in markdown actually compile by extracting real code from the repository using the tool MD snippets. Source files get marker comments like begin snippet my_example ... end snippet my_example, markdown files use a corresponding snippet my_example include, and the generator expands them into a .sourced.md, inserts a link to the exact source lines, and fails on missing snippet so broken examples are caught. Language-agnostic, used with tests and production code, and keeps docs automatically up-to-date.

AI-written summary · about

  1. 0:00Intro
  2. 0:45What do I do
  3. 1:26MD Snippets
  4. 2:54MDSnippets
  5. 3:27Summary
  6. 3:57Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.