News for hackers. Stuff that matters.
Re:Pandoc by bostik on Friday February 02, 2024 @02:40PM (#39233169)
I'd settle for a Markdown import. You could do your editing and writing of raw text in whatever you feel happy with, and then have gdocs transform it to its supposedly native format on upload.

Gdocs would then really only need to support the same semantics with underscores, asterisks, octothorpe heading levels and title sizes.

Re:Pandoc by dkasak on Friday February 02, 2024 @06:00PM (#39235624)
Oh boy, do I have a treat for you. Try saving the following as `input.md`:

    # Hello *world*
    
    ## Math
    
    $$x = 2 \cdot y^3$$
    
    - foo
    - bar
    - baz
    
    1. Yes
    2. No
    3. Maybe
    
    ---
    
      Right     Left     Center     Default
    -------     ------ ----------   -------
         12     12        12            12
        123     123       123          123
          1     1          1             1
    
    Table:  Demonstration of simple table syntax.
Then run

    pandoc -t html input.md | xclip -selection clipboard -t 'text/html'
And paste into a Google doc.
Re:Pandoc by bostik on Saturday February 03, 2024 @06:07AM (#39239248)
Whoah, that is a seriously neat trick. Thank you.