Comments (10)
@sobodash what do you get when you cat ~/.config/mdless/mdless.theme
? What @daneah shows is definitely not right.
Also, @daneah , are you saying that it's working fine except for fenced code blocks? If that's the case, you need to open a separate ticket. This ticket refers to zero output happening.
from mdless.
from mdless.
~ > mdless -d 4 test.md
W, [2019-11-18T18:56:32.769840 #49956] WARN -- : Error merging user theme
I, [2019-11-18T18:56:32.769974 #49956] INFO -- : Processing "test.md"
I, [2019-11-18T18:56:32.850276 #49958] INFO -- : Using ["bat", ""] as pager
~ >
from mdless.
from mdless.
This does not appear to be the case:
~ > rm -rf ~/.config/mdless
~ > mdless -d 4 test.md
I, [2019-11-19T01:49:06.072215 #50214] INFO -- : Creating config directory at /Users/d/.config/mdless
I, [2019-11-19T01:49:06.072525 #50214] INFO -- : Writing fresh theme file to /Users/d/.config/mdless/mdless.theme
W, [2019-11-19T01:49:06.074716 #50214] WARN -- : Error merging user theme
I, [2019-11-19T01:49:06.074785 #50214] INFO -- : Processing "test.md"
I, [2019-11-19T01:49:06.130503 #50216] INFO -- : Using ["bat", ""] as pager
~ >
from mdless.
from mdless.
FWIW I'm experiencing this as a brand new user to mdless! I'd love to provide additional data if there's anything useful to be had from it:
macOS version: 10.14
Ruby version: 2.5.1
iTerm2 version: 3.3.6
What didn't work: Everything seems in order except the fenced code blocks for me, with/without pygments installed.
What I tried: Installing pygments, trying a few files with different programming languages represented
Am I using a custom theme: nope
$ cat ~/.config/mdless/mdless.theme
--- default
$
from mdless.
Just tested after deleting my mdless.theme
and it wrote out what @daneah is showing. Still works, but that's definitely why it says there's an error merging. I'll dig into that, though I think it's separate from whatever @sobodash is experiencing.
from mdless.
Pushed v1.0.6 to the repo and to the gem server. It fixes the theme issue, so update to that before testing any further and let me know where we're at.
You'll want to delete ~/.config/mdless/mdless.theme
before running the updated version to let it write out a correct theme.
from mdless.
I decided to remove all gems, purge the gem directory, and reinstall. This is the output of mdless -d 4 with the newest version.
~ > gem uninstall -aIx
Removing mdless
Successfully uninstalled mdless-1.0.8
INFO: Uninstalled all gems in
~ > gem install mdless
Fetching mdless-1.0.8.gem
Successfully installed mdless-1.0.8
invalid options: -ri
(invalid options are ignored)
Parsing documentation for mdless-1.0.8
Installing ri documentation for mdless-1.0.8
Done installing documentation for mdless after 0 seconds
1 gem installed
~ > mdless -d 4 test.md
I, [2019-11-26T13:24:15.084004 #70433] INFO -- : Processing "test.md"
I, [2019-11-26T13:24:15.162317 #70435] INFO -- : Using ["bat", " -p"] as pager
~ >
from mdless.
Related Issues (20)
- Problem with codeblocks following lists HOT 9
- math equations ($$) HOT 3
- how to set image width and height HOT 7
- `GIT_PAGER=mdless git log` hangs HOT 3
- Request support for Alactritty Terminal Emulator HOT 2
- How to use built-in pager? HOT 4
- Display multiple sections with '-s' HOT 7
- Rendering headers & paragraphs HOT 2
- In contrast to less: mdless doesn't adapt to changing view port of terminal HOT 21
- Code Block rendering shows additional newlines if code block is indented too much HOT 2
- Snap install trying to access '/etc/gitconfig' HOT 7
- 2.0.3 build issue HOT 2
- Table inherit its size from previous table in the file HOT 4
- Not compatible with watch HOT 2
- Strange behaviour when opening in a "small terminal" HOT 4
- Is v2.1.3 the latest release? HOT 6
- empty character in codeblock doesn't work anymore HOT 11
- Ubuntu 20.04, Ruby 2.7.0p0, mdless 2.1.28 gem - syntax error in `string.rb` HOT 4
- Error in convertor.rb HOT 2
- 404 error from gem file on "rake install" 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 mdless.