Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Unexpected Formatting of the triangular pattern #80

Open
noisytoken opened this issue Jul 8, 2020 · 0 comments
Open

Unexpected Formatting of the triangular pattern #80

noisytoken opened this issue Jul 8, 2020 · 0 comments

Comments

@noisytoken
Copy link

noisytoken commented Jul 8, 2020

I am trying to show a triangular pattern like this:

                               * 
                            *  *  * 
                         *  *  *  *  * 
                      *  *  *  *  *  *  * 
                   *  *  *  *  *  *  *  *  * 
                *  *  *  *  *  *  *  *  *  *  * 
             *  *  *  *  *  *  *  *  *  *  *  *  * 
          *  *  *  *  *  *  *  *  *  *  *  *  *  *  * 
       *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * 
    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * 

But It is being rendered as:

 * 
                            *  *  * 
                         *  *  *  *  * 
                      *  *  *  *  *  *  * 
                   *  *  *  *  *  *  *  *  * 
                *  *  *  *  *  *  *  *  *  *  * 
             *  *  *  *  *  *  *  *  *  *  *  *  * 
          *  *  *  *  *  *  *  *  *  *  *  *  *  *  * 
       *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * 
    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * 

why the first * start at the first column?

I am using the following flags.

renderer = CustomHTMLRenderer(flags=('escape','hard-wrap'))
markdown = m.Markdown(renderer, extensions= m.EXT_TABLES | m.EXT_FENCED_CODE | m.EXT_AUTOLINK |
                                      m.EXT_NO_INTRA_EMPHASIS | m.EXT_MATH  | m.EXT_MATH_EXPLICIT )
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant