-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
list format via enumitem #63
Comments
The
Therefore, the easiest way out for you should be the following: \markdownSetup{
tightLists = false,
} |
One possible way would using the link renderer: \markdownSetup{
renderers = {
link = {\href{#3}{#1}},
},
} |
Thank you.
Sorry that I have so many questions, because I like this tool, and want to use it extensively. Thank you in advance. |
We support some of the Pandoc's syntax extensions, namely citations and tables. For the full list of supported syntax extensions, see Section 2.2 (Options) of the user manual. |
In markdown, there are several ways of producing links: \documentclass{article}
\usepackage{markdown}
\markdownSetup{
renderers = {
link = {\href{#3}{#1}},
},
}
\usepackage{hyperref}
\begin{document}
\begin{markdown}
This is [an example](http://example.com/ "Title") inline link.
[This link](http://example.net/) has no title attribute.
This is [an example] [id] reference-style link.
[id]: http://example.com/ "Optional Title Here"
This is an automatic link: <http://example.com/>.
\end{markdown}
\end{document} The result: |
You can use the \usepackage[html]{markdown}
...
\begin{markdown}
This is some text <!-- and this is a comment -->
\end{markdown} |
It should not be excepted. Can you give an example document that shows what doesn't work? |
Thanks. |
That's correct. HTML is currently just discarded, not rendered, although there are multiple ways in which we could extend the HTML support in the future:
Pandoc's extension for superscripts ( |
If the option \documentclass{article}
\usepackage{markdown}
\markdownSetup{
hybrid = true,
renderers = {
link = {\href{#3}{#1}},
},
}
\usepackage{hyperref}
\begin{document}
\begin{markdown}
A link with special symbols: <http://www.moa.gov.cn/gk/zcfg/nybgz/201111/t20111122_2414394.htm>
\end{markdown}
\end{document} The errors info was
I know a short link can be applied to fix the issue, bu how can I use both the |
@TomBener Hello! Try substituting
|
Closed for inactivity. |
I am using
enumitem
to format my lists: compact and small leftmargin (\setlist{leftmargin=1.25em, nosep}
). But this doesn't work for lists defined inmarkdown
. As mentioned in #2,markdown
usesparalist compactitem
to render lists, is this right? Is it possible to useenumitem
for lists defiend inmarkdown
? Thanks.Another question: how can I use
hyperref
for links?The text was updated successfully, but these errors were encountered: