Comments (6)
I'd love an update too. This is pretty important functionality for an org parser.
from goorgeous.
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.
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:
from goorgeous.
Has there been any update on this - it would be incredibly useful.
from goorgeous.
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.
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)
- Babel code blocks render with a black line at the beginning HOT 6
- exporting images in org mode HOT 3
- Customize emphasis exportation HOT 1
- multiline paragraphs within footnotes HOT 1
- multiline paragraphs with emphasis within quotes HOT 3
- You should tag 1.0.0 HOT 1
- v2 should work with Blackfriday v2 HOT 8
- Support for #+ATTR_HTML HOT 1
- Not parsing nested lists correctly HOT 3
- No support for syntax highlighting HOT 1
- Recognize =code=--- as code plus dash... HOT 3
- /…/ at beginning of line not recognised HOT 2
- Link in list may fail to parse
- crash with an empty headline HOT 2
- Adding a note about goorgeous in https://orgmode.org/worg/ ? HOT 1
- Paragraphs that are not followed by an empty line are not parsed correctly HOT 3
- Multiple hyphens not converted to dashes HOT 1
- Markup in footnotes is rendered literally HOT 1
- Complete Hugo Taxonomies support HOT 1
- src blocks only render in caps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goorgeous.