Skip to content

Commit 3be6e02

Browse files
committed
Add more information to butterfly 2.4
1 parent cccdb56 commit 3be6e02

File tree

4 files changed

+115
-18
lines changed

4 files changed

+115
-18
lines changed

astro.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import mdx from "@astrojs/mdx";
33
import sitemap from "@astrojs/sitemap";
44
import AstroPWA from "@vite-pwa/astro";
55
import manifest from "./webmanifest.json";
6+
import remarkCustomHeaderId from 'remark-custom-header-id';
67

78
// https://astro.build/config
89
export default defineConfig({
@@ -13,7 +14,9 @@ export default defineConfig({
1314
domains: ["avatars1.githubusercontent.com"],
1415
},
1516
integrations: [
16-
mdx(),
17+
mdx({
18+
remarkPlugins: [remarkCustomHeaderId],
19+
}),
1720
sitemap(),
1821
AstroPWA({
1922
workbox: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@linwooddev/style": "^0.4.2",
1717
"@phosphor-icons/web": "^2.1.2",
1818
"astro": "^5.13.4",
19+
"remark-custom-header-id": "^1.0.0",
1920
"sharp": "^0.34.3",
2021
"typescript": "^5.9.2"
2122
},

pnpm-lock.yaml

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 94 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Butterfly Black Hairstreak released
2+
title: Butterfly Black Hairstreak (2.4) released
33
date: "2025-05-21"
44
author: codedoctor
55
tags: [butterfly]
@@ -9,9 +9,12 @@ unlisted: true
99

1010
**Butterfly 2.4 Black Hairstreak is currently in beta!**
1111

12-
Please visit the nightly versions here:
12+
Please visit the nightly version blog entries here:
1313

1414
- [2.4.0-beta.0](/butterfly/2.4.0-beta.0)
15+
- [2.4.0-beta.1](/butterfly/2.4.0-beta.1)
16+
- [2.4.0-beta.2](/butterfly/2.4.0-beta.2)
17+
- [2.4.0-beta.3](/butterfly/2.4.0-beta.3)
1518

1619
*This page is currently only a draft*
1720

@@ -21,30 +24,108 @@ Please visit the nightly versions here:
2124
<TableItem href="#text-format">
2225
New Butterfly text format
2326
</TableItem>
24-
<TableItem href="#text-format">
27+
<TableItem href="#pack-system">
2528
Rebuild pack system
2629
</TableItem>
27-
<TableItem href="#text-format">
30+
<TableItem href="#label-tool">
2831
Improved Label Tool
2932
</TableItem>
30-
<TableItem href="#text-format">
33+
<TableItem href="#pen-element">
3134
Improved Pen Element
3235
</TableItem>
33-
<TableItem href="#text-format">
36+
<TableItem href="#collaboration">
3437
Improved Collaboration
3538
</TableItem>
36-
<TableItem href="#text-format">
39+
<TableItem href="#latex-support">
3740
LateX Support
3841
</TableItem>
39-
<TableItem href="#text-format">
42+
<TableItem href="#pen-toolbar">
4043
Improved Pen Toolbar
4144
</TableItem>
42-
<TableItem href="#text-format">
43-
Coming Soon...
45+
<TableItem href="#polygon-tool">
46+
Polygon Tool
4447
</TableItem>
45-
<TableItem href="#text-format">
46-
Coming Soon...
48+
<TableItem href="#pdf-system">
49+
Reworked PDF System
50+
</TableItem>
51+
<TableItem href="#version-upgrades">
52+
Version Upgrades
4753
</TableItem>
4854
</Table>
4955

50-
## Text format
56+
## New text based format \{#text-format\}
57+
58+
> [#823](https://github.com/LinwoodDev/Butterfly/issues/823)
59+
60+
Butterfly now supports a new text based file format. This format is designed to be human-readable and easy to edit, making it more accessible for users who prefer working with text files and working with version control systems.
61+
62+
## Reworked Pack System \{#pack-system\}
63+
64+
> [#805](https://github.com/LinwoodDev/Butterfly/issues/805)
65+
66+
The previous pack system was difficult to use and had many problems regarding user experience. The new pack system is designed to be more user-friendly and easier to use.
67+
68+
Instead of saving the pack inside the document, the pack is now saved globally and if used, the specific data is saved inside the document. This allows for better organization and management of packs.
69+
To have backwards compatibility, the packs inside documents will now be called `Bundled packs`. These packs can be imported globally to use.
70+
71+
## Improved Label Tool \{#label-tool\}
72+
73+
> Part of [#802](https://github.com/LinwoodDev/Butterfly/issues/802)
74+
75+
The Label Tool will be improved in Linwood Butterfly Black Hairstreak. This release includes the first part of the improvements, which includes a new ctrl + enter shortcut to create a new text element below the current text element. This makes it easier to create new text elements without having to use the mouse.
76+
77+
Additionally an annoying bug with the label tool not allowing new lines has been fixed. Moving text elements after pasting them should now work correctly as well.
78+
79+
## Improved Pen Element \{#pen-element\}
80+
81+
> Part of [#802](https://github.com/LinwoodDev/Butterfly/issues/802)
82+
83+
You can now select a specific fill color for the pen element. This allows having a stroke and a fill to a single pen element, which is useful for creating shapes.
84+
85+
## Improved Collaboration \{#collaboration\}
86+
87+
To stabilize the collaboration system, a bug that caused the server to crash when an invalid request was made has been fixed. This should improve the overall stability of the collaboration system.
88+
89+
## Latex support for markdown \{#latex-support\}
90+
91+
> [#725](https://github.com/LinwoodDev/Butterfly/issues/725)
92+
93+
This is a long awaited feature that allows you to use latex in markdown elements. This allows you to write mathematical formulas and equations in your documents using the familiar latex syntax.
94+
This is the first step to support latex in Butterfly, with more features to come in the future releases and future addition to the rich text elements.
95+
96+
## Pen Toolbar Improvements \{#pen-toolbar\}
97+
98+
> [#797](https://github.com/LinwoodDev/Butterfly/issues/797)
99+
100+
The toolbar now includes a stroke width option, allowing you to easily adjust the stroke width of elements in your document without having to open the properties dialog.
101+
102+
## New polygon tool and element \{#polygon-tool\}
103+
104+
> [#399](https://github.com/LinwoodDev/Butterfly/issues/399)
105+
106+
With the new polygon tool, you can now create custom polygons in your documents. This tool allows you to create polygons with any number of sides, making it a good choice for creating complex designs.
107+
108+
Please test this tool and give feedback on its usability and functionality.
109+
110+
## Rework PDF system \{#pdf-system\}
111+
112+
Instead of converting PDF pages to images on import, there is now a dedicated PDF element. This should improve the quality of the imported PDFs and allow to edit the PDF elements in the future.
113+
114+
Additionally this should improve the performance and file size of loading documents with many PDF pages.
115+
116+
Already existing PDF elements remain unchanged.
117+
118+
## Version upgrades \{#version-upgrades\}
119+
120+
Flutter was upgraded to 3.35. This includes many performance improvements and bug fixes.
121+
122+
Additionally the minimum Android version was increased from 6.0 (Marshmallow) to 7.0 (Nougat) since Flutter 3.35 requires this.
123+
Read more [here](https://github.com/LinwoodDev/Butterfly/discussions/887).
124+
125+
## Notes
126+
127+
Thanks to all the beta testers and translators for helping to make this release possible!
128+
This update will be available soon on the Play Store, Snap Store, F-Droid and Microsoft Store.
129+
Please report any bugs you find on [GitHub](https://github.com/LinwoodDev/Butterfly/issues) and share the app on social media to help the project grow!
130+
131+
In the coming weeks, the 2.5 release cycle will start with a new codename.

0 commit comments

Comments
 (0)