Git Product home page Git Product logo

Comments (6)

jrmiller82 avatar jrmiller82 commented on August 24, 2024 2

I'd love an update too. This is pretty important functionality for an org parser.

from goorgeous.

curiouslychase avatar curiouslychase commented on August 24, 2024 1

Sorry I kinda went dark. I'm almost done with the refactor for goorgeous to handle how many ever deeply nested lists you may have. Here's a snapshot generated from a deeply nested list.

from goorgeous.

kaushalmodi avatar kaushalmodi commented on August 24, 2024

To add to this, here is a MWE to test this support:

  • And unordered list begins with + or -.
  • Two empty lines ends a list.

Here is the spec.

** Unordered Lists
Begin a list with a =+= or =-= sign. Items belonging to the same list must have the same indentation on the first line. To add sub-lists, increase indentation of that list item's =+= or =-= sign as shown in the below example.

Two consecutive blank lines after a list ends the list. Below, the list with =baz1/= and =baz2/= will be in a separate =<ul>= wrapper in HTML.
#+BEGIN_SRC text
- /baz1
- /baz2


+ /foo1
+ /foo2
+ /foo3
  - bar1
  - bar2
#+END_SRC
- /baz1
- /baz2


+ /foo1
+ /foo2
+ /foo3
  - bar1
  - bar2

Above snippet is from my large org syntax examples file (so you see the section numbers below). This is what org exports to html:
image

from goorgeous.

humanfactors avatar humanfactors commented on August 24, 2024

Has there been any update on this - it would be incredibly useful.

from goorgeous.

kaushalmodi avatar kaushalmodi commented on August 24, 2024

@humanfactors

Wow, it's been a year since this :)

I then ventured into developing the ox-hugo package, an Org exporter that exports to Hugo front-matter + Markdown (and HTML where needed). I live and breathe in Emacs + Org environment, so getting all of the Org syntax work was very important to port my existing Org documents, which can be very complicated (Hugo rendered version of that).

from goorgeous.

curiouslychase avatar curiouslychase commented on August 24, 2024

I had a branch I was getting ready to PR into Hugo, but it looks like @niklasfasching PR'ed a new org parser, so I'm closing all the issues here, deprecating and archiving goorgeous.

from goorgeous.

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.