niszet / pandocplay Goto Github PK
View Code? Open in Web Editor NEWVSCode extension for running Pandoc
Home Page: https://marketplace.visualstudio.com/items?itemName=niszet.pandocplay
License: Other
VSCode extension for running Pandoc
Home Page: https://marketplace.visualstudio.com/items?itemName=niszet.pandocplay
License: Other
Currently, output result will be surrounded by ```...``` without any labels. Specified output format by --to
option should be added after ``` .
For example, run with --to
option following selection,
Known Issues
It should be
```html
<h2 id="known-issues">Known Issues</h2>
```
with html
format which specified by --to
.
What's magical!?!?!?!?
This pages Animation!!!!!
Fantastic!!!!!!
Followings should be explained...
Hi there @niszet ,
I just found your plugin which is really nice.
The problem that I am habiing is that I want to display citations (bibliographical references) fetched from a .bib formatted file and display them in the markdown directly. Theay are currently some option to find bibliography and display via pandoc in the preview but these plugin (https://shd101wyy.github.io/markdown-preview-enhanced/#/) are not compatible with another one that I am using (https://marketplace.visualstudio.com/items?itemName=dendron.dendron-markdown-preview-enhanced). So I would really love to display the citations directly in the md file.
Using your plugin I can display them the original pandoc format
see output here 👍
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>runpandoctmp</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p><span class="citation" data-cites="Brown2012a">Brown and Okuno (2012)</span></p>
<p><span class="citation" data-cites="Gerwick2012a">Gerwick and Moore (2012)</span></p>
<p><span class="citation" data-cites="Blunt2009">Blunt et al. (2009)</span></p>
<p><span class="citation" data-cites="jimenez-lunaDrugDiscoveryExplainable2020">(<span class="citeproc-not-found" data-reference-id="jimenez-lunaDrugDiscoveryExplainable2020"><strong>???</strong></span>)</span></p>
<div id="refs" class="references hanging-indent" role="doc-bibliography">
<div id="ref-Blunt2009">
<p>Blunt, John W, Brent R Copp, Wan-Ping Hu, Murray H G Munro, Peter T Northcote, and Michèle R Prinsep. 2009. “Marine natural products.” <em>Natural Product Reports</em> 26 (2): 170–244. <a href="https://doi.org/10.1039/b805113p">https://doi.org/10.1039/b805113p</a>.</p>
</div>
<div id="ref-Brown2012a">
<p>Brown, J. B., and Yasushi Okuno. 2012. “Systems Biology and Systems Chemistry: New Directions for Drug Discovery.” <em>Chemistry & Biology</em> 19 (1): 23–28. <a href="https://doi.org/10.1016/j.chembiol.2011.12.012">https://doi.org/10.1016/j.chembiol.2011.12.012</a>.</p>
</div>
<div id="ref-Gerwick2012a">
<p>Gerwick, William H, and Bradley S Moore. 2012. “Lessons from the past and charting the future of marine natural products drug discovery and chemical biology.” <em>Chemistry & Biology</em> 19 (1): 85–98. <a href="https://doi.org/10.1016/j.chembiol.2011.12.014">https://doi.org/10.1016/j.chembiol.2011.12.014</a>.</p>
</div>
</div>
</body>
</html>
But I would rather like to have something like this :
It looks like some work as been done in this direction. See this sublime plugin which displays citation in md inline using pandoc. https://github.com/renerocksai/sublime_zk#citation-reference-style
Happy to help you with more details if needed !
Thnaks :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.