markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Layout is wrong

Open jerviscui opened this issue 4 years ago • 5 comments
trafficstars

The file is :

1. aaaaaaaaaaaaa

    ```
    make -j4
    make install
    ```

    - `-j4`,表示以 4 核心运行,可以省略

    查看安装结果:

    ```
    ls /usr/local/mysql/
    ```

The right layout like this : image

markdown-viewer is this : image

jerviscui avatar Jan 29 '21 06:01 jerviscui

image I'm having a similar issue where for some reason all the code-blocks are moved 37px downwards. These codeblocks overlap the first line below them.

HarryvanderBeek avatar Jan 29 '21 19:01 HarryvanderBeek

@jerviscui you can try the other compiler bundled with the extension - click on the extension button and pick the Remark compiler from the popup.

@HarryvanderBeek not sure what needs fixing there. I don't have those styles injected on my end, can you elaborate?

simov avatar Jan 30 '21 07:01 simov

Ok, the Remark complier has right format.

There are the differents. image image

The above green picture is from VS Code.

I just feedback this question, perhaps can help others.

jerviscui avatar Feb 01 '21 02:02 jerviscui

I've checked and it is because of an other extension. So forget my issue. (In case anybody is interested, it was this extension: JavaScript and CSS Code Beautifier)

HarryvanderBeek avatar Feb 01 '21 07:02 HarryvanderBeek

@jerviscui yes, this is a compiler issue. It depends on which compiler the VSCode plugin that you have installed is using. If it is an open source one it will be pretty easy to verify that. Markdown Viewer is bundled with the two most popular ones, but it supports many others if installed locally.

@HarryvanderBeek yes, my guess was that something is being injected because I couldn't find it on my end.

simov avatar Feb 01 '21 07:02 simov

Both marked and remark got updated in Markdown Viewer v5, you can download it from the Chrome Web Store or the releases section here.

simov avatar Dec 10 '22 18:12 simov