left-align seems to be the consensus, so I've updated the PR. Thanks!

julia> Markdown.parse("# Title")
 Title
=======

julia> Markdown.parse("## Section")
 Section
–––––––––

julia> Markdown.parse("### SubSection")
 SubSection
------------



On Wednesday, 21 January 2015 10:39:17 UTC-8, Stefan Karpinski wrote:
>
> Agree. Left-aligning seems better.
>
> On Wed, Jan 21, 2015 at 1:35 PM, Tony Kelman <[email protected] 
> <javascript:>> wrote:
>
>> +1 for left-aligning
>>
>>
>> On Tuesday, January 20, 2015 at 11:37:43 AM UTC-8, andy hayden wrote:
>>>
>>> I posted a PR about this, but would like to gauge thoughts on what 
>>> formatting for headings (purely in the REPL e.g. in help messages 
>>> - elsewhere e.g. in html, they are rendered differently).
>>>
>>> I tentatively put:
>>>
>>> julia> Base.Markdown.parse("#Title")
>>>                                                            Title
>>>                                                           -=====-
>>>
>>> julia> Base.Markdown.parse("##Section")
>>>                                                           Section
>>>                                                          -–––––––-
>>>
>>> julia> Base.Markdown.parse("###Subsection")
>>> Subsection
>>> ––––––––––
>>>
>>> Though, as I comment in the PR, personally I dislike centered headings 
>>> (I find them difficult to read) and prefer left-aligned. Do others feel the 
>>> same/have other/better ideas for this?
>>>
>>> https://github.com/JuliaLang/julia/pull/9853
>>>
>>
>

Reply via email to