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.
Loading
Please register or sign in to comment