One last question, holding back merging this, is behaviour of multiline 
sections, see 
https://github.com/JuliaLang/julia/pull/9853#discussion_r23497681

Currently the PR underlines to match the length of the last line. Another 
option is to do 1/2 or 2/3 of the screen. Perhaps there's a better one?

On Thursday, 22 January 2015 22:18:32 UTC-8, andy hayden wrote:
>
> 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]> 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