Comments (3)
If you parse the Djot string "ab" ...
was what i wanted to say.
from djot.js.
(the char at offset 2) - but this
char does not exist!
Well it does: it's a \n
(newline) character.
from djot.js.
I'm not really sure what is best. In fact, there are three ways we could go:
- Current system with the offset of the first character and the offset of the last character
- Your way, with the offset of the first character and the offset of the character after the last character
- Offset of first character plus length
Since all the code currently implements 1, we'd need strong reasons to change from that.
from djot.js.
Related Issues (20)
- Add docstrings HOT 6
- Update pandoc API version emitted HOT 4
- URLs with parenthesis break parser HOT 11
- TaskListItem: "undefined" ? HOT 6
- Caption parsing is buggy HOT 3
- Include package-lock.json in the repository
- Issues with ellipses and dashes when converting to pandoc format HOT 1
- Multiline references HOT 11
- multiline link urls no longer trimmed and concatenated HOT 4
- Shared HTML id in multiple references to the same footnote HOT 7
- Clarification around list items HOT 6
- Make library available via CDN HOT 1
- Deno Third Party Module HOT 2
- Can we remove auto generated anchor in renderDjot output? HOT 6
- Crash when render tasklist as pandoc HOT 2
- No renderer for span when rendering as djot HOT 1
- Add recursive file inclusion HOT 2
- Error when trying to run `npm run test` HOT 2
- question: Add class name to all sections HOT 3
- Add comment in AST HOT 5
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 djot.js.