Skip to content

[feature request] Adding a blank line after "%% Waypoint %%" (then content) to improve compatibility with pandoc and static site generators #146

Description

@netlimpopo

First of all, thank you for this great plugin! It makes it possible to build simple static sites with no effort and makes navigation a dream!

Problem

When refreshing Landmarks oder Waypoints the new content will be inserted directly under the waypoint trigger word (%% Begin Waypoint %%). This leasds to problematic html output with pandoc and other static site converters.

Markdown:

%% Begin Waypoint %%
- line 1
- line 2
- line 3
%% end Waypoint %%

Created html output:

%% Begin Waypoint %% - line 1 - line 2 - line 3 
%% end Waypoint %%

Pandoc or other static site builders sometime face problems in translating the content as they expect a blank line after %% Begin Waypoint %%.
For unordered lists apparently a blank line is needed sometimes.

Solution

  • manually insert a blank line
  • use regex to add a blank line in case there is none, do so for every waypoint note

Feature Request

Provide an option to insert a blank line after %% Begin Waypoint %%.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions