[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: About adapting editor to markdown


Le 04/04/2026 à 10:38, Jorge Carrión a écrit :
I forgot the Picture

El sáb, 4 abr 2026 a las 10:38, Jorge Carrión (<shordi@xxxxxxxxx <mailto:shordi@xxxxxxxxx>>) escribió:

    Okay, what I need is an .md file editor that highlights the marked-
    up content. Ideally, it would look like the image I've attached, but
    I understand that's beyond the capabilities of Editor, and it would
    be enough for the marked-up text to appear in a different color.

    Looking at the source code, I can't see exactly what I need to
    include in a control inherited from Editor to treat Markdown the
    same way it treats CSS or HTML, etc., and I don't think it's
    necessary to fork it just for this.

    I've been working with TextEdit and then a converter that converts
    RichText to md, but TextEdit no longer works, and besides, the HTML
    it handles is far too complex for what I need. The files I use are
    90% plain text with some bold or italic words and some headings in
    between.

    Best Regards


By defining your own highlighting file, you can use different colors, underline, bold and italic depending on the markdown token. But the font must be the same.

https://gambaswiki.org/wiki/doc/highlight

Regards,

--
Benoît Minisini.


References:
Fwd: About adapting editor to markdownJorge Carrión <shordi@xxxxxxxxx>
Re: Fwd: About adapting editor to markdownBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Fwd: About adapting editor to markdownJorge Carrión <shordi@xxxxxxxxx>
Re: Fwd: About adapting editor to markdownJorge Carrión <shordi@xxxxxxxxx>