8000 fix: Removed shift-heading-level-by: 1 flag from defaults files. This was a workaround for Pandoc which is no longer needed. by TeaDrinkingProgrammer · Pull Request #5073 · Zettlr/Zettlr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Removed shift-heading-level-by: 1 flag from defaults files. This was a workaround for Pandoc which is no longer needed. #5073

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

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# Upcoming

## Changes to Pandoc Profiles

This update fixes a workaround that Zettlr had in place for a shortcoming of
Pandoc regarding the automatic numbering of headings. This workaround is no
longer necessary, since Pandoc has since fixed the issue.

Zettlr now ships with changed default profiles for various export formats. Since
Zettlr never overwrites any data, the new defaults will not be applied
automatically. You can apply the change manually by removing the following line
from the default profiles: `shift-heading-level-by: 1`.

## GUI and Functionality

- **change**: Remove `shift-heading-level-by: 1` line from default profiles
- Fixed the "Paste as Plain" menu item not working (#5052)
- Add Pascal syntax highlighting (keyword: `pascal`; #5368)
- Fixed images in file previews on hovering internal file links not working
Expand Down
1 change: 0 additions & 1 deletion static/defaults/HTML.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
title-prefix: ''
Expand Down
1 change: 0 additions & 1 deletion static/defaults/LaTeX.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
title-prefix: ''
Expand Down
1 change: 0 additions & 1 deletion static/defaults/Microsoft Word.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
identifier-prefix: ''
title-prefix: ''
eol: lf
Expand Down
1 change: 0 additions & 1 deletion static/defaults/Open Document Text.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
title-prefix: ''
Expand Down
1 change: 0 additions & 1 deletion static/defaults/Plain Text.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
title-prefix: ''
Expand Down
1 change: 0 additions & 1 deletion static/defaults/Reveal.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
eol: lf
Expand Down
1 change: 0 additions & 1 deletion static/defaults/Rich Text Format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
title-prefix: ''
Expand Down
1 change: 0 additions & 1 deletion static/defaults/XeLaTeX PDF.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ number-offset:
- 0
- 0
- 0
shift-heading-level-by: 1
section-divs: true
identifier-prefix: ''
title-prefix: ''
Expand Down
Loading
0