Skip to content

default table output markdown to html is not truly a default #2694

Closed
simpsolg opened this Issue · 1 comment

1 participant

@simpsolg

I am brand new to Pandoc but a big fan! However, when converting a markdown table constructed as a default style, markdown to html output should be simply that -- no alignment styles should be applied: e.g. output should be blah..., not blah....

The problem is that the inline styles overrule any defaults applied in a .css file and also create verbose code. Because specific alignments are already available in markdown, it does not make sense to have the default option replicate one of them.

Thanks

@jgm jgm added a commit that closed this issue
@jgm HTML writer: don't include alignment attribute for default table colu…
…mns.

Previously these were given "left" alignment.  Better to leave off
alignment attributes altogether.

Closes #2694.
93a05df
@jgm jgm closed this in 93a05df
@simpsolg
@c-forster c-forster pushed a commit to c-forster/pandoc that referenced this issue
@jgm HTML writer: don't include alignment attribute for default table colu…
…mns.

Previously these were given "left" alignment.  Better to leave off
alignment attributes altogether.

Closes #2694.
cfe37f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.