Comments (4)
So, I think in order to get this to work you would need to parse out your custom separators and replace them with \(
,\)
, etc., since ankdown has switched to using Anki's builtin mathjax support (which forces you to use those separators). I'd definitely accept a PR that did this is a nice way (one that's extensible to alternate separators and easy to configure).
from ankdown.
Thank you for your fast answer
the question is how to get this extensibility done.
Something like this maybe:
ankdown -r [directory] -p [package filename] -s={'$', '$$'} [change math separator to {X, XX}]
don't know if the syntax is totally right but i hope you get the gist out of it.
from ankdown.
I think it would be fine if there were a flag for "--dollar-separators"; the main thing is just to make it easy in the code to change them / make them configurable later.
from ankdown.
from ankdown.
Related Issues (20)
- (Possible) Bug: Ankdown adds <p></p> to the first and second field HOT 2
- Cloze support HOT 3
- Configuration file
- PyYAML warnings are annoying
- Cannot import the package in Anki after running Ankdown with method A HOT 3
- README clarification
- Merge Ankidown and Ankdown HOT 2
- UnicodeDecodeError HOT 1
- Feature Request: Github flavored markdown HOT 4
- Images in Subfolders
- Reloading decks overwrites css changes HOT 1
- Order of processed markdown files seems random HOT 1
- Installation instructions failing
- Images HOT 2
- Methods of correctly preserving card identity HOT 3
- Can i create deck/card by using visual studio code with markdown plugin? HOT 2
- Image import is broken HOT 8
- Switch to MathJax or KaTeX HOT 1
- Improvement: Text after % field seperator HOT 2
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 ankdown.