From 729c45ded0066ab3a48d7557f711be018c665fd0 Mon Sep 17 00:00:00 2001 From: Lilian Besson Date: Thu, 5 Jan 2017 08:25:17 +0100 Subject: [PATCH] Example related to 'https://github.com/Naereen/StrapDown.js/issues/2#issuecomment-270481179'. --- nounstyledcode.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nounstyledcode.html diff --git a/nounstyledcode.html b/nounstyledcode.html new file mode 100644 index 0000000..2ee5a00 --- /dev/null +++ b/nounstyledcode.html @@ -0,0 +1,11 @@ +Test without Flash of Unstyled Code +# This is a test of a [StrapDown.js](http://lbesson.bitbucket.org/md/) powered webpage + +The only difference is I added a `style="visibility:hidden;display:none;"` attribute to the `<xmp>` tag containing the Markdown code. + +- *it's nice*, because for this page, the unstyled code (i.e., raw Markdown code) does not appear in the first second of the loading of the page, +- but *it's not perfect*, as the page is fully empty on a text-only browser, or for browsers without javascript (or disabled javascript). + + +> For more information, c.f., this [GitHub issue](https://github.com/Naereen/StrapDown.js/issues/2). +