Re: [Tiki-users] Code block inside a list item?
Volker Wysk <post-hhF2Jplw28UoZk/[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
Am Montag, den 05.07.2021, 12:07 +0100 schrieb Jonny Bradley via TikiWiki-
users:
> Hi Volker
>
> Code plugins and tables seem to work ok for me in a list (a little surprisingly)
>
> Like this?
>
> * {CODE()}in a list?
> two lines?
> {CODE}
> * Second
> * || Third is | a | table
> which | is | nice||
> * 4th item
>
> Not working for you?
Now it works. Sorry...
I'm wondering now, which Tiki markup I should generate, when there is
something indentable inside a list item. For instance, a code block. I could
include it inside a list item, the way you have written:
* Some list item {CODE()}
And a
code block
{CODE}
... or use the new indentation plugin:
* Another list item
{INDENT()}
{CODE()}
And a
code block
{CODE}
{INDENT}
You may remember, I've introduced "PluginIndent" for creating the same
effect as the indentations which are possible in MoinMoin.
Which of the two possibilities is preferable? The first one is the
"official" way of doing it, but the second one is cleaner, and simpler to
implement.
Cheers,
Volker
_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmDi+RcACgkQ+K4ydFOs HoVKQRAAsUQ9KEhsdWQetS0/tjnlrLSUrS0boWJqypegOsXADeFv8i3WE04HZruX 2QyEaRmV+hfe80p91L/VHI1ftKHLVW9tRH2cXsktLX1dJ/18QxRjm4D7sKcE7inH ync9vXYwBE8N2x43umdK8ZLJjrcEQtjk7BlhLnS3DKOlkRnlH5/TWhZmvDzBtN6s p/2wcfMkpJwCUE7Q2hkPGW6Y+SkIM0f5ZSQ7GsVgN54ESPCwu6kh9FxNt5uERi+g Dal0gCLOkAODWL8qisu0Gzc36TnxUF7l8cuMeOB1whN4vdBuNa9bSaqSQNN2+ZIm t5i6D48oJH1k6+Fapj9QcGC8wkGgNNizpvMyku/FlqTSaDVOHBG2lXDsEARER45s tLhvqUH28hYIYwR+mxSuHU5DzvgM6nNy2wrz3WrgX/LOhnq0cqoh6Z5PZgJN2puQ FScDsPQmkzdIfd5nOpCBuaPH6W4g9fwGJczfwokx1PWuQq5vVjV1Cl6KnTUYX2Sg UIMj9jF4b5T0I3tqWiD7iIeeEionEIMTlvbSrGlvqczMLerwU7AkSd6JOfkxve7D FR4B2tC4vSNL2Xe1hZzfF4hvRxNl5kR8GkmQ0DHRCFIqPy6Cc7fjJ1Ske+Zvdx02 mI9UA10v1Wvivw/RYvLQddmaLDAXst6pxiN4oblTlBY2KHicKv0= =Zs7c -----END PGP SIGNATURE-----