Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code block in preview mode #1269

Closed
Babelfisch opened this issue Dec 29, 2021 · 2 comments
Closed

Code block in preview mode #1269

Babelfisch opened this issue Dec 29, 2021 · 2 comments
Assignees

Comments

@Babelfisch
Copy link

Description

Code in preview mode is displayed completely differently than in the editor. Font, colors, line height, and more are different.

Simple example in edit mode:

Bildschirmfoto 2021-12-29 um 10 23 42

And the same in preview mode:
Bildschirmfoto 2021-12-29 um 10 23 51

To Reproduce

Create a simple code example:

func test() -> Double {
  return 0.0
}

And then switch to preview mode.

Expected behavior

The code in preview mode should have the same settings as in editor mode or it should be possible to change the settings for preview easily.

FSNotes version

5.2.0 (507)

macOS/iOS version

12.1

Additional context

No response

@glushchenko
Copy link
Owner

Bug related to external library and fixed here raspu/Highlightr#88

Thanks for bug report.

glushchenko added a commit that referenced this issue Jan 9, 2022
glushchenko added a commit that referenced this issue Jan 9, 2022
- Fixes freezes when app starts
- Fixes golang code highlighting
- Improves themes in edit mode

#1269
@glushchenko
Copy link
Owner

glushchenko commented Jan 9, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants