Giter Club home page Giter Club logo

Comments (12)

michalyao avatar michalyao commented on June 12, 2024 2

据说mac版印象笔记有问题,复制粘贴过去的文本格式都会出现问题。

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

代码渲染需要 ``` 反斜线,用英文半角输入。

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

@dxh 如果问题解决了请把issue关闭。

from evermonkey.

dxh avatar dxh commented on June 12, 2024

我使用的语法为

```java
test code
```

不带java时,不高亮。无论是否带上java,缩进均丢失。

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

image
你能把markdown贴出来吗,什么叫缩进丢失。

from evermonkey.

dxh avatar dxh commented on June 12, 2024

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

图片打不开

from evermonkey.

dxh avatar dxh commented on June 12, 2024

md
preview

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

你可以自己手动输入一些代码,看看有没有缩进丢失的情况。尽量保证空格缩进,代码块里面顶格写。你可以拿我这个代码示例试一下。应该是贴过来的代码本身缩进有问题。

``` java
public class Dolphin extends SwimmingCarImpl {
    private static final Logger LOG = LoggerFactory.getLogger(Dolphin.class);

    @Override
    public void swimImpl() {
        LOG.info("Dolphin swim");
    }

    @Override
    public void moveImpl() {
        LOG.info("Dolphin move");
    }

    @Override
    public void stopImpl() {
        LOG.info("Dolphin stop");
    }
}

from evermonkey.

dxh avatar dxh commented on June 12, 2024

还是没有缩进,我是mac平台

image
image

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

我用mac看了一下,客户端确实存在这个问题,不知道是不是客户端解析的问题。用 ever browse 在浏览器里面打开是正常的。而且正常这应该是代码块不能被编辑的那种。

from evermonkey.

michalyao avatar michalyao commented on June 12, 2024

@dxh 我建议你配合web使用吧,如果你想同时在印象笔记客户端和vscode里面编辑不是很好,因为如果你在客户端里面编辑markdown渲染的笔记,那么在vscode里面再次打开就会导致一些额外的html被解析。 markdown编辑要尽量保证单向,因为程序里面是做了特殊处理的,保证解析出来的是纯markdown文本,如果想浏览笔记,配合ever browse 在Web端打开会好一点。

from evermonkey.

Related Issues (20)

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.