[program-l] Re: Markdown: tables in HTML and word output

  • From: "Dang Manh Cuong" <dangmanhcuong@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 7 Nov 2018 10:49:03 +0700

Hi Jim and all
Thank you so much because I still look for a way to generate html table using 
markdown before having your replying.
Venkatesh, to generate html table from markdown using Pandoc, use this command, 
assuming you want to generate from a file called test.md, the command look like
pandoc -s test.md -o test.html
I'm not familiar with pandoc so other member would give ferther info.
HTH
Cuong

----------------
Dang Manh Cuong
 The Assistive technology specialist
 Sao Mai Vocational and assistive center for the blind
52/22 Huynh Thien Loc St., Hoa Thanh ward, Tan Phu dist., HCM, Vietnam.
 Tel: +8428 7302-4488
 E-mail: vanphong@xxxxxxxxxxxxxxxxxx; congnghe@xxxxxxxxxxxxxxxxxx
 Facebook: https://www.facebook.com/saomaicenterfortheblind
 Website: http://www.trungtamsaomai.org; http://www.saomaicenter.org  Mobile ;
/ Zalo: +84 902-572-300
 E-mail: dangmanhcuong@xxxxxxxxx; cuong@xxxxxxxxxxxxxxxxxx
 Skype name: dangmanhcuong
 facebook: http://facebook.com/dangmanhcuong
 Twitter: @ManhCuongTech
  ----- Original Message ----- 
  From: Venkatesh Potluri 
  To: program-l@xxxxxxxxxxxxx 
  Sent: Wednesday, November 07, 2018 6:31 AM
  Subject: [program-l] Re: Markdown: tables in HTML and word output


  Thanks a lot Jim.


  That helped resolve another error I was getting that pandoc was not 
installed. I still get incorrectly formatted tables. Also, this link suggests 
not to use knitr::pandoc. Is this different from what I am doing? I just import 
markdown and use the reader function.


  Best regards, Venkatesh Potluri
  Https://venkateshpotluri.me




  I literally started using R 2 days ago so please excuse if these questions 
are trivial. 

    On Nov 6, 2018, at 1:50 PM, Jim Homme <jhomme@xxxxxxxxxxxxxxxxx> wrote:

    Hi,
    I use a program called Pandoc for this. Pandoc has a way to format tables 
and make them come out properly. You would give it the correct command line 
options and let it do its thing. I know it works because I have used it before. 
I would have to look up the Markdown syntax for the tables and the correct 
options for the command line, but as I said, I know from experience that it 
works. See http://www.pandoc.org.

    Jim



    ==========
    Jim Homme
    Product Manager
    Digital Accessibility 
    Bender Consulting Services
    412-787-8567
    
https://www.benderconsult.com/our%20services/hightest-accessible-technology-solutions
    People with disabilities, access job openings at 
https://www.benderconsult.com/careers/job-openings    ;


    -----Original Message-----
    From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On 
Behalf Of Venkatesh Potluri
    Sent: Tuesday, November 6, 2018 3:27 PM
    To: program-l@xxxxxxxxxxxxx
    Subject: [program-l] RMarkDown: tables in HTML and word output

    Hi List,

    I am using R for some data analysis, and find that the HTML that gets 
generated from RMarkDown does not have tables marked up as HTML tables. This 
makes it harder for a screen reader to read. Is there a way to have RMarkDown 
generate properly formatted documents? I tried word as well, but the resulting 
documents do not have any tables.

    Thanks in advance for your help.

    Best regards, Venkatesh Potluri
    Ph.D. Student,
    Paul G. Allen School for Computer Science and Engineering, University of 
Washington Https://venkateshpotluri.me

    ** To leave the list, click on the immediately-following link:-
    ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
    ** If this link doesn't work then send a message to:
    ** program-l-request@xxxxxxxxxxxxx
    ** and in the Subject line type
    ** unsubscribe
    ** For other list commands such as vacation mode, click on the
    ** immediately-following link:-
    ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
    ** or send a message, to
    ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
    ** To leave the list, click on the immediately-following link:-
    ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
    ** If this link doesn't work then send a message to:
    ** program-l-request@xxxxxxxxxxxxx
    ** and in the Subject line type
    ** unsubscribe
    ** For other list commands such as vacation mode, click on the
    ** immediately-following link:-
    ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
    ** or send a message, to
    ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq


Other related posts: