“You’ve got a friend in md” v0.2.0 is out!! 🎉

Uncategorized

I’ve added several new features and improvements to make the tool (You’ve got a friend in md) more useful and easier to work with.

Here is the Git link: https://github.com/appare9999/friend-in-md

The features

Marp Presentation Mode

  • Markdown files with marp: true in their front matter are displayed as read-only slides instead of opening in the editor.
  • Switch between themes using the Theme dropdown in the toolbar. Available options include default, gaia, uncover, and custom themes. The selected theme is saved back to the file’s theme: setting.
  • Custom theme CSS files can be placed in the .marp-themes/ directory directly under the notes folder. They are loaded through /api/marp-theme.
  • Convert presentations to .pptx files using @marp-team/marp-cli. Chrome or Chromium is required.
  • Start a full-screen slideshow.
    • Navigate between slides using the keyboard and press Esc to exit.
  • Open speaker notes in a separate window using presenter.html.
    • Notes are written as comments in the Markdown file and synchronized with the slideshow.

PDF Export

  • Print only the note content through the browser’s print dialog.

Quick Note Popup

I’ve added a feature for quickly displaying frequently used text, such as commands or code snippets that you want to keep handy for copying and pasting.

  • Markdown files with quick: true in their front matter can be opened in a separate read-only window using quick-note.html.
  • If multiple Quick Notes are available, a selection interface allows you to switch between them.
  • Added a PWA (Progressive Web App) manifest and service worker so the application can be installed as a PWA.
  • The folder containing Quick Notes can be configured and saved separately from the main notes folder.
  • Added /api/quick-note-folder and a folder selection dialog for managing the Quick Note directory.

CSV Editor Improvements

The CSV editor has received several usability improvements.

  • Sort columns using the menu in the column headers.
  • Select a range of cells by dragging or using Shift + Click.
  • Ctrl + C and Ctrl + V now support tab-separated data, making it compatible with Excel and Google Sheets.
  • Display the sum and average of numeric values in the selected range at the bottom-right corner.
  • Fill cells using either sequential numbering or copying. The default behavior can be configured in Settings. Hold Ctrl while dragging to reverse the selected fill behavior.
  • The default limit is 500 KB, and it can be configured from 100 KB to 10 MB. The server also validates file sizes to enforce the limit.

Image Support

Images can now be viewed and managed directly within the application.

  • Supported image formats are displayed in the file tree: PNG, JPG, GIF, WebP, SVG, BMP, and AVIF.
  • Click an image in the file tree to open it.
  • Double-click an image inside the editor to open it in full-screen mode.
  • Full-screen image viewing supports zooming and panning.
  • Added an image insertion button to the editor.

Editor Improvements

  • Changes are automatically saved after three seconds of inactivity.
  • Fixed an issue where Crepe could modify the document immediately after loading, causing it to be incorrectly marked as unsaved.

UI and Settings Improvements

  • Added a Settings panel with options for font selection, CSV fill behavior, CSV file size limits, and the Quick Note folder.
  • Added adjustable widths for the sidebar, document content, and table of contents. These settings are saved in localStorage.
  • Recently opened folders are now displayed, with a maximum of eight entries. You can remove individual entries using the × button.
  • Added a button to navigate to the parent folder.
  • The browser tab title now displays the root folder name.
  • Added a logo and application icons. Icons can be generated using npm run icons from the assets/ directory.

Comments

Copied title and URL