The "series of four or more repeated characters" is implemented in
Asciidoctor and I agree with that part. What I don't agree with is when the
ending delimiter is not congruent with the start delimiter. Allowing them
to differ is a bad practice in my opinion and congruency should be
enforced. This is no different than requiring balanced delimiters in
programming languages. I guess we can just agree to disagree about this.
Asciidoctor is not going to autofix malformed documents.

If you're finding it too hard to match start to end delimiters, then I
think it's a sign that your delimiter lines are too long. That's exactly
why I strongly advocate for using 4 characters unless there is a good
reason to include more.

-Dan

On Mon, Nov 23, 2015 at 3:01 PM, Lex Trotman <[email protected]> wrote:

> Sorry Dan, but what part of "(normally a series of four or more
> repeated characters)." did the Asciidoctor people not understand?
> Four or more, not the same.
>
> Now its certainly pretty if they are the same (at least if you can see
> them close together) but its a pain in the ass to ensure they are the
> same when they are not close together.
>
> Parsers should not enforce style suggestions, at most it should be a
> warning.
>
> Cheers
> Lex
>
> On 24 November 2015 at 06:18, Dan Allen <[email protected]> wrote:
> >
> > On Mon, Nov 23, 2015 at 1:08 PM, Manfred Moser <[email protected]
> >
> > wrote:
> >>
> >> Your source also has to be a bit cleaner for asciidoc in terms of e.g.
> >> open and close sections for code using the same amount of dashes and so
> on.
> >
> >
> > Excellent point. Asciidoctor enforces that block delimiters be
> equivalent.
> > Technically, this was understood because every example AsciiDoc document
> in
> > AsciiDoc Python uses equivalent delimiters. We therefore considered it
> to be
> > a bug in the parser that it was permitting the lengths to be different.
> >
> > -Dan
> >
> >
> > --
> > Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "asciidoc" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/asciidoc.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to