Comments (2)
The short answer is that the paragraphs belonging to the list item should be indented 4 spaces in compared to the bullet, while it's only 3 spaces in your example. Long story follows.
Consider the following example, where "paragraph" is indented 4 spaces and is parsed as part of the list item:
(3bmd-grammar:parse-doc "
- bullet line
paragraph
")
=> ((:BULLET-LIST
(:LIST-ITEM (:PARAGRAPH "bullet" " " "line")
(:PARAGRAPH "paragraph"))))
Good. 3bmd tolerates the bullet being indented 1 space in:
(3bmd-grammar:parse-doc "
- bullet line
paragraph
")
=> ((:BULLET-LIST
(:LIST-ITEM (:PARAGRAPH "bullet" " " "line")
(:PARAGRAPH "paragraph"))))
but doesn't work if the "paragraph" is indented only 3 spaces:
(3bmd-grammar:parse-doc "
- bullet line
paragraph
")
=> ((:BULLET-LIST
(:LIST-ITEM (:PLAIN "bullet" " " "line")))
(:PLAIN " " "paragraph"))
In fact, this last version is what your example ended up looking like due to how pax guesses and strips the indentation from docstrings (see https://github.com/melisgl/mgl-pax#921-indentation and https://github.com/melisgl/mgl-pax#x-28MGL-PAX-3ADOCUMENT-OBJECT-20-28METHOD-20NIL-20-28STRING-20T-29-29-29).
from mgl-pax.
I thought indenting four times would create an inline code block, I misunderstood github markdown in that respect. Sorry for the false bug report!
from mgl-pax.
Related Issues (20)
- mgl-pax fails to load - can't find .git/refs/heads/master HOT 7
- Add ability to reexport nested sections HOT 1
- slot's using default generic functions HOT 3
- MathJax integration does not properly escape {} HOT 2
- Support for `symbol-macro` documentation issues HOT 3
- Workflow for keeping documentation up-to-date? HOT 3
- Updating cl-transcribe blocks: options ignored in Emacs? HOT 3
- Reference to undefined Esrap rule 3BMD::%BLOCK HOT 2
- Missing `*DOCUMENT-URL-VERSIONS*` among others when loading `mgl-pax` system HOT 1
- Changes to the Extension API HOT 3
- Checking that pathname-name is a string HOT 3
- Support for PDF output HOT 5
- support djot instead of (in addition to) markdown HOT 1
- @sections no longer exported HOT 3
- Github markdown parsing regression HOT 1
- Arglist of methods with eql specializers loses package information (keyword in particular) HOT 3
- locate-error calls without parameters fails; this causes incorrect error messages. HOT 2
- The symbol "METHOD" is not external in the MGL-PAX package HOT 3
- What is the canonical way to document a type created via DEFSTRUCT? 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 mgl-pax.