Artawower / orgnote

Zettelkasten environment for productive people
GNU General Public License v3.0
225 stars 3 forks source link

[Bug] src block has trailing blank line #6

Open yantar92 opened 5 months ago

yantar92 commented 5 months ago

Thank you for the bug report

Bug description and steps to reproduce

Create a new note via web frontend with the following contents

This is test
#+title: Foo bar
* Heading here
- item here
#+begin_src emacs-lisp
 (+ 1 1)
 #+end_src
 - item 2
    - item
  - sub

Observe src block containing large space after with gray background - looks awkward.

(Alsp, creating sub-items feels unnatural - have to add space in front; TAB cycling would be more natural)

Debug info

OrgNote: 0.13.3 Language: en-US

Screen: Screen resolution: 1920x1080 Screen color depth: 24 Device pixel ratio: 1

Env: API URL: https://org-note.com/api/v1/ AUTH URL: https://org-note.com MODE: production

Quasar info: chrome: true version: 112.0.5615.213 versionNumber: 112 linux: true desktop: true webkit: true name: chrome platform: linux standalone: false

Additional context

No response

Artawower commented 4 months ago

Observe src block containing large space after with gray background - looks awkward.

Fixed in 0.14.0

(Alsp, creating sub-items feels unnatural - have to add space in front; TAB cycling would be more natural)

I plan to implement this as an extension once the extension api is ready