asciidoctor / docgist

Render AsciiDoc documents from Gists, GitHub, DropBox and other remote sources in the browser.
http://gist.asciidoctor.org
57 stars 76 forks source link

Detect if inside frame, style accordingly #13

Closed nawroth closed 8 years ago

nawroth commented 10 years ago

Replace the navbar with something minimal, like an open-in-new-window link only. (We might want the button to say it's a DocGist, that could be just enough.) I think embedding AsciiDoc documents into other tools this way would be great.

Maybe also support resizing the iframe to fit the document. See: https://github.com/davidjbradshaw/iframe-resizer

nawroth commented 8 years ago

We could just hidde the navbar but keep the footer once we have one (see https://github.com/asciidoctor/docgist/issues/23).

nawroth commented 8 years ago

Example: http://gist.asciidoctor.org/?4f5b891006d0ca947892