Preview Mode Pre CSS Padding Problem

Bug report

Markdown Screen
Screenshot 2024-04-15 at 14.49.20

Preview Screen
Screenshot 2024-04-15 at 14.49.27

As you can see, there is a padding problem for line if there was a preview screen which pre has a title.

Environment

  • Platform: macOS
  • Platform version: Sonoma 14.4.1
  • App Version: Version 5.8.0

How to reproduce

if there is a preview mode you can change css like this:
Screenshot 2024-04-15 at 14.55.49

after that this bug will resolve:
Screenshot 2024-04-15 at 14.56.55

Hey @cagrizorkol
this is a freature from a community made plugin if i am not wrong from the code-title plugin

It is best to report problems directly to the plugin author / in the plugin repository

cc: @elpnt Since you are the author of the plugin, this is probably of interest to you

Hi @cagrizorkol and @Lukas, I am the author of that plugin.
I need to rewrite the plugin, probably because the recent Inkdrop major update has changed the markdown parser spec.

As a temporary measure, you can paste the following CSS into the user stylesheet.
0.3rem y-padding works well for my MacOS environment.

.code-title {
  padding: 0.3rem 0.8rem !important;
}
1 Like

Just dropped code-title v3.0 :partying_face:
The title block is now full width to avoid bugs as much as possible.

Thank you for your support and thank you for updating plugin. :slight_smile:

I shared a new screen from Inkdrop which app has code title plugin new version. As you can see, fixed this style problem.

Screenshot 2024-04-16 at 14.34.21

1 Like