Skip to content
Commit 7a1ce8d9 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Add 'preview' option to inline examples.

Only `@example preview` will now switch automatically to preview mode.
The default is code-editor mode.  This also means the Touch examples
aren't switched to preview mode by default.

Because code-editor mode can now be startup mode for Touch examples,
fix the initial height calculation on that case.  Overall recalculate
the example height when switching between modes.
parent e2df4c4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment