rstacruz / flatdoc

Build sites fast from Markdown

Home Page:http://ricostacruz.com/flatdoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal links

mebibou opened this issue · comments

I might be doing something wrong, but I can't make this work:

Title
====
Section
--------

### Header

This is the header description

### Footer

This contains a link to [header](#header)

This does not generate a proper link in Footer to go to the Header section (the [header](#header) part),
it should render <a href="#title-section-header">header</a>
but instead renders <a href="#header">header</a>

FYI, the markdown works on github, and putting [header](#title-section-header) instead will break the markdown

is this fixed?
i have same problem too.

#TITLE ###HEADER

if i use #header on github it will scroll correctly. But in my web this will failed. because the right link is #title-header (and the opposite)