Giter Site home page Giter Site logo

vascoferreira25 / ox-tailwind Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 2.0 19.54 MB

Org-Mode HTML export back-end with Tailwind.css classes. Check the theme:

Home Page: https://vascoferreira25.github.io/ox-tailwind/

License: MIT License

Emacs Lisp 0.88% JavaScript 0.01% CSS 99.10% YASnippet 0.02%

ox-tailwind's Introduction

Hi there 👋, I'm Vasco

I've finished my 🎓 Masters Degree in Business Management 💰 📈 😆 📉 😂 😨 💸 😱 and now I’m currently learning about programming 💻.

The languages I've been learning so far are:

Overall Stats

GitHub Stats

ox-tailwind's People

Contributors

vascoferreira25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ox-tailwind's Issues

Error when installing in Doom (could not find package ox-html)

Tried installing with the straight.el version of Doom Emacs:

(package! ox-tailwind
  :recipe (:host github :repo "vascoferreira25/ox-tailwind"))

However fails with (after running doom sync)

    > Installing packages...
      > Building ox-tailwind...
      x There was an unexpected error
        Message: error
        Data: (error . "Could not find package ox-html. Updating recipe repositories: (org-elpa melpa gnu-elpa-mirror el-get emacsmirror-mirror) with ‘straight-pull-recipe-repositories’ may fix this")
        Backtrace:
          (signal error ("Could not find package ox-html. Updating recipe repositori
          (error "Could not find package %S. Updating recipe repositories: %S with `
          (if (straight--package-built-in-p melpa-style-recipe) (throw '--cl-block-s
          (or (straight-recipes-retrieve melpa-style-recipe nil cause) (if (straight
          (if recipe-specified-p melpa-style-recipe (or (straight-recipes-retrieve m
          (let* ((recipe-specified-p (listp melpa-style-recipe)) (full-melpa-style-r
          (or (and (symbolp melpa-style-recipe) (gethash (symbol-name melpa-style-re
          (catch '--cl-block-straight--convert-recipe-- (if (memq melpa-style-recipe
          (straight--convert-recipe ox-html "Building ox-tailwind")
          (let ((recipe (straight--convert-recipe (or (straight--get-overridden-reci
      ! Extended backtrace logged to ~/.emacs.d/.local/doom.error.log

Ox-html seems to be part of org-mode files.

How to resolve?

Help

Steps to reproduce:

  1. git clone ox-tailwind
  2. cd notes_example
  3. edit index.org to match and execute this block
(setq org-publish-project-list
      '(("notes-example"
         :base-extension "org"
         :base-directory "."
         :publishing-directory "./dist/"
         ;; :publishing-function org-tailwind-publish-to-html
)))
  1. run org-public-all will succeed and export all projects and files.
  2. now execute this block
(setq org-publish-project-list
      '(("notes-example"
         :base-extension "org"
         :base-directory "."
         :publishing-directory "./dist/"
         :publishing-function org-tailwind-publish-to-html
)))
  1. run org-public-all will error with org-tailwind-paragragh: Symbol's function is void: equalp

I know I am likely doing something wrong as I have never used tailwind and just trying to test using org-publish too.

Not really sure what I am doing wrong.

TOC not in side bar in google-chrome

I git cloned the repo. However, when I open ~/Downloads/ox-tailwind/docs/another_theme.html or any of the other html theme files in google-chrome on archlinux, the toc shows up on top not in a sidebar. It seems to work fine in Firefox and I did not check any other browsers.

Also I was not sure from the instructions on the home page on how to choose between the themes.
I like the gitlab theme and would like to use it.

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.