BBS:      TELESC.NET.BR
Assunto:  Re: MARKUP kludge
De:       Rob Swindell
Data:     Mon, 9 Mar 2026 16:50:28 -0700
-----------------------------------------------------------
  Re: Re: MARKUP kludge
  By: Matthew Asham to Rob Swindell on Mon Mar 09 2026 07:06 am

 > On March 9 2026, Rob Swindell wrote:
 >  RS> Re: Re: MARKUP kludge
 >  RS> By: Matthew Asham to All on Tue Mar 03 2026 10:41 am
 >
 >  >>
 >  >> MA>     ^AMARKUP: Markdown 1.0
 >  >> MA>     ^AMARKUP: StyleCodes 1.0
 >  >>
 >  >> BinktermPHP 1.8.5 (to be released) now uses the MARKUP kludge and adds
 >  >> support for StyleCodes/Synchronet Message Markup.  It continues to be
 >  >> enabled/disabled on a per network/uplink basis.
 >  >>
 >  >> I've also posted a copy of the draft proposal to
 >  >> https://github.com/awehttam/binkterm-php/issues/161
 >
 >  RS> I think it's a good idea and thinking about how best to implement
 >  RS> support (both adding and consuming the kludges in Synchronet).
 >
 >  RS> Maybe I missed it, but does your spec say if/how multiple MARKUP
 >  RS> styles/kludges could be used in a single message?
 >
 > It does not.  I think the assumption is the message is soley the listed
 > MARKUP.
 >
 > I'm not sure how we would support multiple markups other than perhaps
 > listing the MARKUP kludges in order of precedence, eg: MARKUP: Markdown
 > 1.0,StyleCodes 1.0,BBText 1.0 and then the parser would apply rendering for
 > each in order.
 >
 > Personally I feel it would be simplest to leave it as a single markup only.

I agree, definitely simplier. Maybe add some text to your spec clarifying that a maximum of one MARKUP kludge should be included in a message body and the entire message body is expected to be displayed with the specified MARKUP applied regardless of where the MARKUP kludge line appears in the message body.
-- 
Rob Swindell
FTSC Standing Member
--- SBBSecho 3.37-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

-----------------------------------------------------------
[Voltar]