Playground for testing new things.
Mermaid Diagram:
graph LR
a --> b & c --> d
\begin{circuitikz}[
% Works perfectly in GitHub with the "tikz" language tag
\draw
(0,0) node[ground] {} to[sinusoidal voltage source, l=$$ v_{in}(t) $$, invert] (0,3)
to[short] (2,3)
to[R, l=$$ R $$, *-] (4,3)
to[C, l=$$ C $$, *-] (4,0) node[ground] {}
(4,3) to[short, -o] (5,3) node[above] {$$ v_{out}(t) $$}
;
% Optional component values
\node at (3,2.4) {$$ R = 10\,\mathrm{k\Omega} $$};
\node at (5,1.5) {$$ C = 100\,\mathrm{nF} $$};