Giter Site home page Giter Site logo

Comments (6)

bastibe avatar bastibe commented on August 20, 2024

Strange. Tables work fine on my end. Do you have any org-specific customizations that might cause this? What versions of Emacs and Org are you using?

from org-static-blog.

nguyenthanhvuh avatar nguyenthanhvuh commented on August 20, 2024

sorry for the late reply. I checked but don't see any org-specific settings that would affect this. I also disable all my org settings and still have same issue. Emacs 28.2 and org mode 9.5.5

from org-static-blog.

bastibe avatar bastibe commented on August 20, 2024

This is probably not an issue with org-static-blog, I'm afraid. Org-static-blog really doesn't touch org's export facilities, but merely uses them.

That said, your exported table looks perfectly to me. What is it that makes it "wrong" in your eyes?

from org-static-blog.

nguyenthanhvuh avatar nguyenthanhvuh commented on August 20, 2024

as mentioned in the first post, the issue is that the table doesn't have borders as shown in https://nguyenthanhvuh.github.io/posts/test.html. Tables from default html exports will have borders, e.g., https://nguyenthanhvuh.github.io/org/test.html.

I look at the html code of the one generated by org-static-blog and one generated directly from org-mode and found that the direct one has this code

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">

but the one by org-static-blog does not. I know it is strange but it's what it is.

from org-static-blog.

nguyenthanhvuh avatar nguyenthanhvuh commented on August 20, 2024

this happens on both of my computers (one running FreeBSD and the other Mac OS). Could you generate tables with borders from org-static-blog on your machine?

from org-static-blog.

bastibe avatar bastibe commented on August 20, 2024

You will need to add your own CSS to make the HTML on your static website look the way you want. That's how org-mode and org-static-blog are intended to be used.

As this is not a bug in org-static-blog, I'll close this issue. Feel free to continue this discussion regardless.

from org-static-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.