Giter Club home page Giter Club logo

anki-md-template's Issues

缩进的代码块不能正常显示

在电脑端的anki中,添加以下缩进的代码块会显示不正常。但在手机端ankidroid中进行添加时缩进代码块是正常的。

4. **执行 SQL 语句**:
   使用游标对象的 `execute()` 方法执行 SQL 语句。
   ```python
   sql = "SELECT * FROM your_table"
   cursor.execute(sql)
   ```

显示结果:
image

备注:
image

请求支持夜间模式和MathJax公式渲染

MathJax

使用此模板后,原本anki的KaTeX也无法正常渲染了,请问能否解决这个问题,或支持MathJax渲染。

夜间模式

能否支持使用github夜间模式下的Markdown样式。

谢谢

导入了您上传好的牌组,使用该牌组中模板生成卡片,代码块中有时会出现&nbsp问题,具体问题如下

这是anki的答案显示情况:
image
代码块1是我从网上复制的代码 先复制到我的markdown编辑器里,再导入到anki里面,
我发现行首的空格和中间的空格都出现了&nbsp,行尾的空格没有显示成&nbsp
然后我重新创建了一个代码块2,把代码块1里面的代码复制到代码块2中,然后把空格都删除了,再手打空格补上,导入到anki,发现我删除再手动打上的空格都正常显示了。
这样无法正常使用,记笔记需要从别的地方复制代码到卡片,不可能都手打代码,请您帮我看看是模板的未知bug还是我哪里出错了,万分感谢。
原代码块1的内容如下:

select  
  a.userkey,  
  a.idno,  
  a.phone,  
  a.name,  
  b.user_active_at,  
  c.intend_commodity,  
  c.intend_rank,  
  d.order_num,  
  d.order_amount  
from user_info a  
left join user_active b on a.userkey = b.userkey  
left join user_intend c on a.phone = c.phone  
left join user_order d on nvl(a.idno,concat(rand(),'idnumber')) = d.idno;

[help] problem of escaping spaces in Markdown

While reading README, I noticed that you solved the problem of escaping spaces in Markdown. I'm currently in a similar situation, so I'd like to ask you how to fix it.

代码段中输入的空格会被 markdown 转义 直接输出 nbsp;

Thank you so much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.