simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.05k stars 133 forks source link

Layout is wrong #139

Closed jerviscui closed 1 year ago

jerviscui commented 3 years ago

The file is :

1. aaaaaaaaaaaaa
make -j4
make install
```

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

查看安装结果:

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


**The right layout like this :**
![image](https://user-images.githubusercontent.com/6396748/106242156-34e94b00-6242-11eb-9855-95448a46fa4f.png)

**markdown-viewer is this :**
![image](https://user-images.githubusercontent.com/6396748/106242028-00758f00-6242-11eb-8c8e-679d94cc0391.png)
HarryvanderBeek commented 3 years ago

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.

simov commented 3 years ago

@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?

jerviscui commented 3 years ago

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.

HarryvanderBeek commented 3 years ago

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)

simov commented 3 years ago

@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 commented 1 year ago

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