Comments (5)
yeah I think this syntax is a bit weird
[foo\][\bar][#citeKey]
[foo\][\bar][#citeKey;]
maybe change this and the way to choose between citep
and citet
to something more obvious.
I like that the syntax is close to other that of other features e.g. including images.
For the most part I use TextExpander to expand mmd syntax e.g. ,,mdcite
will give me defaults and options to select between different ways to cite. So in the end the syntax only matters for readability purposes (for me)
from multimarkdown-6.
To avoid making the code unduly complicated, I think that both of the arguments (foo
and bar
) should be wrapped inside a single pair of brackets ([...]
). What happens inside the brackets can be customized.
Options could include:
[[foo][bar]][#citekey]
[foo/bar][#citekey]
[foo|bar][#citekey]
or something else;
As for the citep and citet, I wonder how often somone uses both variants in the same document? An option would be to specify one of the two in the metadata. This would avoid the need for the semicolon.
from multimarkdown-6.
I use both in the same document, as it's typical in literary studies to use parens when citing a novel or something that is cited repeatedly/throughout the article, but footnotes when citing something just once or twice.
However, I use the one requiring the ; more often, meaning there are often mistakes where I've forgotten the semicolon! The semicolon seems to be an arbitrary modifier, but I can't think of a better solution.
As I've mentioned on the email list, I remap \citep
and \citet
anyway in my .md file, as I use biblatex:
<!--
\newcommand{\citep}[2][]{\pnotecite[#1]{#2}} % Parenthetical: [page][#Citekey]
\newcommand{\citet}[2][]{\autocite[#1]{#2}} % Textual, so footnote here: [page][#Citekey;]
-->
from multimarkdown-6.
I've implemented citations in MMD-6 (both as reference and inline variants, just like footnotes, abbreviations, and glossary terms).
I'm still open to tweaking the syntax to address some of the things above, if anyone has any good ideas.
from multimarkdown-6.
The latest commit to the development branch includes 2 changes:
-
HTML Footnotes use
<sup>1</sup>
instead of[1]
. -
HTML Citations use
(1)
instead of[1]
.
from multimarkdown-6.
Related Issues (20)
- Using image reference and filename with odd number of underscores makes MM not to convert HTML to Markdown HOT 1
- Empty line after indented code block not recognized as BLOCK_EMPTY, not its newline as TEXT_NL HOT 5
- How to correctly use transclusion? HOT 4
- The first line containing a : (colon) is always treated as metadata HOT 5
- Problems with transclusion for streamed input on Windows^TM^ HOT 1
- [Feature request] File transclusion on remote raw sources HOT 4
- [Question] After stripping of MARKER_BLOCKQUOTE in tokenization, could we add back MARKER_BLOCKQUOTE when the line/block is finished? HOT 1
- Automatic abbreviation processing is not reliable HOT 2
- Export from Ghostwriter via Multimarkdown 6.6.0 to odt format fails when image is included HOT 4
- Missing Image Condition for ODT and Epub Could Be Improved HOT 6
- Broken Link to single document PDF on the GH-Pages site HOT 1
- Tables in lists with leading blanks don't render in MMDComposer5 HOT 3
- Build warning and question on directory for option HOT 4
- Please consider adding option to hide Markdown source and search windows in MMDComposer HOT 3
- Bold around a link doesn't display properly (in MultiMarkdown Viewer v5.0.0 (2023.06.08.16.13) HOT 1
- Underscores in LaTeX autorefs Are Unnecessarily Escaped HOT 1
- Image won't display in MMDComposer5 Version 5.0.0 (2023.11.03.03.02) HOT 1
- Grammar railroad diagram HOT 1
- File transclusion happens even when inside a html comment. HOT 1
- Install failed on macOS Sonoma - How to uninstall completely HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multimarkdown-6.