I created a modified style to use with Zotero and Zotpress. The purpose is to allow a place a list of Zotero items on a web site. Technically, it’s a bibliography, but the purpose is to show users a list of relevant documents and sites to the topic at hand. At such, I’ve stripped down what is displayed and added some notations.
My question is whether it is possible to nest statements within a structure (and if not, why not?).
This works:
{layout}
{choose}
{if variable=“genre”}
{text value=“Organization web site” suffix=“:”/}
{/if}
{else-if type=“webpage”}
{text value=“Web page” suffix=“:”/}
{/else-if}
{else-if type=“book”}
{text value=“Book” suffix=“:”/}
{/else-if}…
(Changed the angles to curly braces…I am new to this forum and my attempts to use formatted text and blockquotes didn’t show up in the published post…at least I couldn’t see them.)
Is the nesting not permitted? Or have I just goofed up the structure?
Thanks for the pointer about adding fences. I’ll have to try that again. I used the </> button and pasted my text between the () marks, but the text didn't show up when I viewed the posted item. Do I need to use a set of () marks on each line, perhaps?
Looking at the raw content of your first edit, I don’t really know what happened (and the button doesn’t do what I thought it did). This is the way to go (and you can replace “xml” by other things for syntax highlighting):