Thanks to visit codestin.com
Credit goes to github.com

Skip to content

List of all posts is not the bottommost if there are footnotes in Markdown content #12

@bartekpacia

Description

@bartekpacia

I hope this screenshot (of my blogpost) demonstrates the problem well:

bug

This happens because of concatenation here:

ssb/ssb

Lines 307 to 308 in 6922128

append_posts_list "$posts" | cat "$md_file" - | eval "$MD_RENDERER" > "$tempf"
cat "$HEADER_PATH" "$tempf" "$FOOTER_PATH" > "$output_file"

Current behavior: Append posts list to the post Markdown file, then run pandoc, then append header and footer
Expected behavior: Run pandoc on the post Markdown file, then append posts list, then append header and footer

loosely related to #10

PS My header.html and footer.html are empty files. I use pandoc templates instead. See my template and my generation script

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