Skip to content

Instantly share code, notes, and snippets.

@fbennett
Created May 25, 2017 21:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fbennett/824e0b63d4f4baa311da7b7b131c92b5 to your computer and use it in GitHub Desktop.
Save fbennett/824e0b63d4f4baa311da7b7b131c92b5 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
<info>
<title>Simple Markdown References</title>
<title-short>SMR</title-short>
<id>http://www.zotero.org/styles/simple-markdown-references</id>
<link href="http://www.zotero.org/styles/simple-markdown-references" rel="self"/>
<link href="https://forums.zotero.org/discussion/65821/create-new-export-format" rel="documentation"/>
<author>
<name>Frank Bennett</name>
</author>
<contributor>
<name>Zotero user azaghal_of_belegost</name>
</contributor>
<category citation-format="note"/>
<category field="social_science"/>
<updated>2015-01-11T22:02:33+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="title-mac">
<choose>
<if variable="title">
<text variable="title" prefix="*" suffix="*"/>
</if>
<else>
<text value="**No title**"/>
</else>
</choose>
</macro>
<macro name="doi-mac">
<choose>
<if variable="DOI">
<group>
<text variable="DOI" prefix="doi:[" suffix="]"/>
<text variable="DOI" prefix="(https://doi.org/" suffix=")"/>
</group>
</if>
<else>
<text value="**no doi available**"/>
</else>
</choose>
</macro>
<citation>
<layout delimiter="; ">
<group delimiter=", ">
<text macro="title-mac"/>
<text macro="doi-mac"/>
</group>
</layout>
</citation>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment