• exec/load/markdown.js

    From echicken@VERT to CVS commit on Sunday, September 23, 2018 18:02:00
    exec/load markdown.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv28601

    Added Files:
    markdown.js
    Log Message:
    Synchronet-flavoured markdown
    Ugly work in progress
    Renders to console, frame, or HTML
    Crappy tables on console/frame but whatever
    Not entirely compatible with other markdowns, but we're special.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, September 23, 2018 18:04:00
    exec/load markdown.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv29205

    Modified Files:
    markdown.js
    Log Message:
    Remove some stupid debug log thingiedoodles



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, September 23, 2018 20:34:00
    exec/load markdown.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv11454

    Modified Files:
    markdown.js
    Log Message:
    Customizable for frame / console:
    - heading underline and attribute (same for all heading levels for now)
    - link/image attribute
    - list indentation character (\t)
    - bold attribute (\1h)

    Customizable for HTML:
    - optionally add CSS class names for all applicable tags (except <b>,<i>)

    Fixed some nested <ul><ol> stuff, still looks crappy in Bootstrap 3, meh



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Tuesday, September 25, 2018 23:27:00
    exec/load markdown.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25561

    Modified Files:
    markdown.js
    Log Message:
    Support some DokuWiki stuff (headings, links, media, bold, italic, underline, lists)
    Some things broken for now (lists, HTML blockquote need some work).
    Tables will need a bunch of work.
    Need to add monospace text for HTML.
    Code blocks & text conversions still a to-do.
    HTML sub/sup/del will need to be removed on the console side.
    Footnote support needs to be added.
    Wiki-specific stuff ... eh.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 00:16:00
    exec/load markdown.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv32035

    Modified Files:
    markdown.js
    Log Message:
    Monospace '' replacements for console/frame and HTML.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 02:25:00
    exec/load markdown.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15522

    Modified Files:
    markdown.js
    Log Message:
    Fixed console numbered lists.
    Added reset method to bring state back to default if switching render
    targets or handling a new file. (Called automatically when setting new
    target.)
    Comments.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 02:41:00
    exec/load markdown.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv17290

    Modified Files:
    markdown.js
    Log Message:
    Footnotes.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 03:51:00
    exec/load markdown.js 1.7 1.8
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25832

    Modified Files:
    markdown.js
    Log Message:
    A good start on dokuwiki tables.
    Still need to deal with alignment, sizing to terminal.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 04:22:00
    exec/load markdown.js 1.8 1.9
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv29057

    Modified Files:
    markdown.js
    Log Message:
    HTML table cell rowspan



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 04:35:00
    exec/load markdown.js 1.9 1.10
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv30309

    Modified Files:
    markdown.js
    Log Message:
    Send better line drawing character when we can.
    (Will do the same for tables when the time comes.)



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 12:15:00
    exec/load markdown.js 1.10 1.11
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv1574

    Modified Files:
    markdown.js
    Log Message:
    HTML table colspan.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 26, 2018 12:39:00
    exec/load markdown.js 1.11 1.12
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4481

    Modified Files:
    markdown.js
    Log Message:
    HTML cell align



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 27, 2018 19:47:00
    exec/load markdown.js 1.12 1.13
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv2707

    Modified Files:
    markdown.js
    Log Message:
    Use table.js for tables on the console.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 27, 2018 20:02:00
    exec/load markdown.js 1.13 1.14
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4337

    Modified Files:
    markdown.js
    Log Message:
    List depth stuff.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 27, 2018 22:21:00
    exec/load markdown.js 1.14 1.15
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv19317

    Modified Files:
    markdown.js
    Log Message:
    Numbered list fixes.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 27, 2018 22:39:00
    exec/load markdown.js 1.15 1.16
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv20893

    Modified Files:
    markdown.js
    Log Message:
    Some of these patterns need the multiline flag.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 27, 2018 22:42:00
    exec/load markdown.js 1.16 1.17
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21327

    Modified Files:
    markdown.js
    Log Message:
    Headings might have whitespace after them for whatever reason.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Friday, September 28, 2018 02:10:00
    exec/load markdown.js 1.17 1.18
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv11430

    Modified Files:
    markdown.js
    Log Message:
    Linebreak \\



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Friday, September 28, 2018 02:43:00
    exec/load markdown.js 1.18 1.19
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14729

    Modified Files:
    markdown.js
    Log Message:
    Pass output thru word_wrap if target is console. (Wrapping already turned
    on for Frame output.)
    Changed default list indent to two spaces.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Friday, September 28, 2018 14:29:00
    exec/load markdown.js 1.19 1.20
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv5744

    Modified Files:
    markdown.js
    Log Message:
    Nested blockquote for HTML output.
    Strip DokuWiki control macros (~~NOTOC~~ ~~NOCACHE~~)
    Toggle no_toc state value for possible future use.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net