sofa-mdbook's People
sofa-mdbook's Issues
Can't parse wikilinks with Stackage `lts-20.11`
- No
Ext_wikilinks_title_after_pipe
in Pandoc < 3.0
Parse image tags with wikilink `![[image.png]]`
In md,
![[wiki]]
![wiki](image.png)
In pandoc,
[ Para
[ Str "!"
, Link
( "" , [] , [] ) [ Str "wiki" ] ( "wiki" , "wikilink" )
]
, Para
[ Image ( "" , [] , [] ) [ Str "wiki" ] ( "image.png" , "" )
]
]
Can't handle .md files of different depth
Current implementation assumes a fixed depth of .md files.
Preprocess paragraph links
[ ] Remove tags
[ ] Query links through all files
Switch from Cabal to Stack script once LTS resolver with `pandoc >= 3.0` is available
Right now the preprocessor is a Cabal script. I would have prefered to use a stack script like this
#!/usr/bin/env stack
{- stack script --resolver=nightly-2023-02-14 --verbosity=info
--package process
--package pandoc
--package pandoc-types
--package text
-}
but it just don't give me the needed Pandoc >= 3.0 saying that it is hidden.
LTS resolvers work with no 'hidden package' error, but it doesn't have >= 3.0
and I already wasted a full working day on it just to make it work.
I might better make a full project, but this is just a script and I don't want all the extra steps/files to compile and run.
Preprocess LaTeX equations
Make soft line breaks visible
Possible options is <div style="line-height:150%;"> <br> </div>
or anything in the following.
https://stackoverflow.com/questions/1409649/how-to-change-the-height-of-a-br
CSS would be great too.
Can't use lists inside a theorem environment.
Parsing with Markdown reader, Pandoc does not recognize lists in a quote.
Using CommonMark reader, we can express list in a quotation but doing so leads to multilple errors:
-
inside multiline equations, if started in a line, is considered as a list not a part of equation.- Even after fixing a few corners, parsing the file as commonmark does not work (WHY?)
Auto-generate SUMMARY.md from Obsidian Vault
Use Turtle
- Transverse a directory recursively.
- Check if filename matches either starts with
[0-9A-Z][0-9].
- If not, ignore.
- If it is a directory, add this as a section name
- If it is a file, add a file section
The file structure depends on the tree of actual FilePaths
We need an abstract tree structure that represents the content of the document. Right now we use file paths for guessing the depth.
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.