Quick Start Guide
Creating Your First Document
Create a new markdown file
lecture.md
:
---
title: "Introduction to Machine Learning"
author: Your Name
date: 2024-01-01
---
\ifndef{introML}
\define{introML}
\section{Machine Learning Basics}
\notes{
Machine learning is a field of computer science that gives computers the ability to learn without being explicitly programmed.
}
\slides{
* ML enables computers to learn
* Learning from data
* Improving with experience
}
\endif
Build different formats:
# Create slides
lamd build lecture.md --format slides
# Create notes
lamd build lecture.md --format notes
# Create PDF
lamd build lecture.md --format pdf
Creating Reusable Snippets
Create a snippet file
_ml/includes/neural-networks.md
:
\ifndef{neuralNetworks}
\define{neuralNetworks}
\section{Neural Networks}
\notes{
Neural networks are computational models inspired by biological neural systems.
}
\slides{
* Inspired by biology
* Multiple layers
* Deep learning foundation
}
\endif
Include in your lecture:
\include{_ml/includes/neural-networks.md}
Adding Media
\figure{\includediagram{neural-net}{80%}}
{Basic neural network architecture}{fig:neural-net}
\includeyoutube{video-id}{800}{600}
Next Steps
Explore different contexts (slides, notes, etc.)
Learn about media handling
Understand layout controls
Master bibliography management