mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #39490
[Bug 1619474] A change has been merged
Reviewed: https://reviews.mahara.org/6914
Committed: https://git.mahara.org/mahara/mahara/commit/f61bf0b8f0aa0a73c5c247a695e853b00cb7b155
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit f61bf0b8f0aa0a73c5c247a695e853b00cb7b155
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date: Fri Sep 2 13:08:07 2016 +1200
Bug 1619474: Display Dwoo tags in styleguide code samples
This patch adds a Dwoo precompiler on styleguide.php.
It locates all the code samples (as delimited by markup
"```" delimiters), and makes two copies of each one.
One is passed on to Dwoo to be compiled and rendered,
and the other is surrounded with ```{literal}{/literal}```
so that the Dwoo tags in it will remain uncompiled,
and the markdown renderer can render it into code.
We were previously doing this on the JS side, but then
the rendered examples couldn't properly render
Dwoo tags in the examples.
behatnotneeded - guide only no core functionality
Change-Id: Ic55a972437d1c2c8f88169d501a48735b8fd303b
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1619474
Title:
Styleguide should have code in the part that can be copied
Status in Mahara:
Fix Committed
Bug description:
Currently, the styleguide displays the code that needs to be copied
without the actual code bits for language strings, URLs etc., which
makes copying more difficult because the copied code needs to be
cleaned up.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1619474/+subscriptions
References