Comments (5)
@Steve2955 Thank you much for considering the requests! Really looking forward to that code highlight!
from md2apkg.
Perhaps we could use something like https://highlightjs.org/ for syntax highlighting?
- Search for code tags in HTML
- run that through highlightJS
- profit?
from md2apkg.
highlightjs
is what I had in my mind as well. It's also the recommended way bymarkdown-it
.@RvNovae Do you might want to implement syntax highlighting? I already did some work on the "extending card fronts"-feature. A PR should be ready for review this evening.
Yeah sounds good, I can take a look at it over the weekend.
from md2apkg.
Thank you very much for those kind words. The ability to extend card fronts is on the top of my list as well. However, I intend to use an html-comment syntax for splitting card back and front by default (something like <!-- md2anki split -->
). Considering your use case I will add optional compatibility with the mdanki-%-syntax.
I will be working on this as well as #15 on the weekend. I thought about syntax-highlighting for code blocks as well, but that might take some more time.
from md2apkg.
highlightjs
is what I had in my mind as well. It's also the recommended way by markdown-it
.
@RvNovae Do you might want to implement syntax highlighting? I already did some work on the "extending card fronts"-feature. A PR should be ready for review this evening.
from md2apkg.
Related Issues (16)
- improve stability, better error-handling HOT 4
- npm release HOT 4
- Don't try to convert LaTeX-Syntax within code blocks
- implement support for images
- Title falsch formatiert HOT 1
- Anki crashes on import
- Bug: Use package locally HOT 2
- Does not use the hole Name of the File to generate Deck name
- Add support for config file HOT 3
- Exceed Max Memory with too much cards HOT 2
- implement support for latex HOT 9
- Testing Action broken HOT 7
- implement support for ignoring certain heading levels
- unify card fronts
- add simple action to run tests
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 md2apkg.