Skip to content

v1.0.0 - Release

Choose a tag to compare

@YousefHadder YousefHadder released this 19 Oct 03:23

Changelog

All notable changes to markdown-plus.nvim will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

1.0.0 - 2025-01-19

Added

Headers Module

  • Header promotion/demotion with <leader>h+ and <leader>h-
  • Jump between headers with ]] and [[
  • Set specific header levels with <leader>h1 through <leader>h6
  • Generate Table of Contents with <leader>ht
  • Update existing TOC with <leader>hu
  • Follow TOC links with gd
  • TOC duplicate prevention using HTML comment markers (<!-- TOC --> / <!-- /TOC -->)
  • GitHub-style slug generation for anchors

List Module

  • Auto-continuation of list items on <CR> in insert mode
  • Context-aware o and O in normal mode for list items
  • Intelligent list indentation with <Tab> and <S-Tab> (insert mode)
  • Smart backspace with <BS> to remove empty list markers
  • Automatic renumbering of ordered lists on text changes
  • Manual renumbering with <leader>mr
  • Debug command <leader>md for troubleshooting list detection
  • Support for nested lists with proper indentation handling
  • Empty list item removal (press <CR> twice to exit list)

Format Module

  • Toggle bold formatting with <leader>mb (normal + visual mode)
  • Toggle italic formatting with <leader>mi (normal + visual mode)
  • Toggle strikethrough with <leader>ms (normal + visual mode)
  • Toggle inline code with <leader>mc (normal + visual mode)
  • Clear all formatting with <leader>mC (normal + visual mode)
  • Smart word boundary detection for formatting operations

Documentation

  • Comprehensive help file accessible via :help markdown-plus
  • Complete API documentation for all modules
  • Usage examples and troubleshooting guide
  • Installation instructions for lazy.nvim

Technical Details

  • Context-aware keymaps that only activate when appropriate
  • Proper fallback to default Vim behavior outside of lists
  • No interference with normal mode operations
  • Buffer-local keymaps for Markdown files only
  • Automatic feature enablement via FileType autocmd

Changed

  • Initial stable release

Fixed

  • List operations now properly enter insert mode on non-list lines
  • Fixed <CR> behavior to work correctly on regular text
  • Removed global <CR> mapping that interfered with normal mode
  • All keymaps now respect context (list vs non-list, insert vs normal)

[Unreleased]

Planned Features

  • Task list checkbox toggling
  • Toggle between ordered/unordered lists
  • Code block formatting support
  • Advanced link following (files, URLs)
  • Table manipulation
  • Custom keymap configuration
  • Custom TOC formatting options