Comments (2)
Ah, OK, that makes sense. I will update my local markdown linting config to conform with this.
from litvis.
Hi Jo!
We use one space for unordered lists, so that blocks in list items were padded by two spaces.
- Hello
Two leading spaces here 👍
```
code listing
```
- World
If we do the same for the ordered lists, these elements (including code listings) will be padded by three spaces.
1. Hello
Three leading spaces here 👎
```
code listing
```
1. World
Adding one extra space makes this offset even, which simplifies actions like select + tab / select + shift tab in the editor.
1. Hello
Four leading spaces here 👍
```
code listing
```
1. World
Because we don't know in advance which lists will have blocks and which ones will remain simple, the same rule applies everywhere. Happy to update our setup if there is possibility for some other convenient configuration.
from litvis.
Related Issues (20)
- Easy way to flush the literate-elm cache HOT 2
- Ensuring correct indentation / error messages when frontmatter not correctly indented
- Cannot load local files since markdown-preview-enhanced-with-litvis 0.14.0
- Problem parsing some CSV files since markdown-preview-enhanced-with-litvis v0.14.0 HOT 6
- Apply narrative schema in child documents
- Problems parsing field names with some non-alphanumeric characters HOT 7
- Allow apache arrow data loading HOT 4
- Triple hat call in child document doesn't recognise function in parent document
- Litvis broken in Atom 1.38.x and above HOT 18
- Interactive mode no longer shows tooltips by default. Is this desired behaviour? HOT 2
- Atom not finding prettier-plugin-elm
- Web Viewer HOT 2
- Enable 'interactive' view by default HOT 2
- Populate the website field HOT 2
- Markdown-preview enhanced-with-litvis broken in Atom 1.47.0 HOT 1
- Caching not working in Atom HOT 2
- Use of local files in interactive mode in VSCode HOT 5
- syntax highlighting in VSCode requires space between elm and open brace HOT 3
- Local image will not preview in VSCode if code block with markdown output is in document
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 litvis.