Markpad split view showing Markdown source on the left and rendered math and formatted text on the right
News,  Software & Services

Markpad 2.9.3 makes copying code and diagrams easier

Version 2.9.3 of Markpad makes it easier to take one useful thing out of a Markdown file. A whole chunk of code? Copy it from the preview. One little snippet tucked into a sentence? That gets its own copy control. A diagram your group chat definitely won’t render? Send it as an image. The November 28 desktop release adds all three, so your carefully formatted notes have fewer ways to arrive looking like an escaped shopping list.

Copy the piece you need from the preview

Markpad already lets you write Markdown on one side and see the formatted result on the other. On 2.9.3, the copy buttons on fenced code blocks now have visible icons. Hovering over inline code reveals a little copy badge for a single command, identifier or filename. That’s handy when a colleague needs the exact spelling of an option and the surrounding sentence can stay where it is.

Dark Markpad preview showing highlighted Rust, JavaScript and Python code blocks
Repository screenshot of Markpad’s rendered code blocks on an earlier build. Version 2.9.3 adds visible copy icons to the controls. Image: Markpad project, BSD 3-Clause (resized).

There’s a similar change for diagrams made with Mermaid, the syntax for building flowcharts and timelines from text. Markpad can now copy a rendered diagram as a PNG. Use the image when you only need to show the diagram. Include the original Mermaid text when someone needs to edit it later. Think of the PNG as a photo of the whiteboard after the meeting. Charming and much easier to pass around, but somebody still has to keep the marker.

Local files get a little more attention

Reloading the preview now fetches images that were edited on disk, according to the release notes. The preview also gains fixes for audio and video referenced through raw HTML in a Markdown file. That’s useful for a folder of notes with a few local clips, such as a set of recording exercises. If you plan to hand that folder to someone else, send the referenced files as well and keep their paths intact. Our DAW tutorials are one example of where it helps to write down the steps next to the media you’re working with.

Two Mermaid diagrams in a Markpad document output example with flow and sequence arrows
An earlier Markpad example of two rendered Mermaid diagrams. Version 2.9.3 adds the ability to copy an individual diagram as a PNG. Image: Markpad project, BSD 3-Clause (resized).

The developer’s compare-view notes document another practical improvement. After an outside program modifies the file, Markpad can take one changed block from the disk copy in its conflict view. That gives you a way to accept a teammate’s paragraph while keeping edits elsewhere. Read the diff before applying it. A very tidy merge can still be a very tidy mistake.

Which download should you use?

Markpad is free and open source. The release offers Windows installers and portable files for x64 and Arm64, one universal macOS build for Intel and Apple Silicon, and Linux packages for x86-64. The publisher also flags that the Windows binaries are unsigned, so SmartScreen may warn about the download. The release bundles no new paid features.

Open the project’s Markdown sample file if you want to see what its preview renders before bringing a sprawling notes folder over. Start with a diagram and a couple of code snippets. The nice part about plain text is that the file is still yours to open in a different editor tomorrow. Visit Software & Services for more updates on desktop tools.

Featured image: Markpad project, BSD 3-Clause (resized). Copyright © 2023 Alec Ames.

Markpad screenshot licence

Copyright (c) 2023 Alec Ames. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x