• exec/load/markdown.js

    From echicken@1:103/705 to CVS commit on Sun Sep 23 11:02:26 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Sun Sep 23 11:04:01 2018
    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


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Sun Sep 23 13:34:44 2018
    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


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 16:27:03 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 17:16:03 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 19:25:03 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 19:41:31 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 20:51:40 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 21:22:42 2018
    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


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Tue Sep 25 21:35:18 2018
    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.)


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Wed Sep 26 05:15:38 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Wed Sep 26 05:39:24 2018
    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


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 12:47:48 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 13:02:33 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 15:21:59 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 15:39:00 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 15:42:08 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 19:10:22 2018
    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 \\


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Thu Sep 27 19:43:18 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CVS commit on Fri Sep 28 07:29:44 2018
    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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)