Comments (4)
This should be fixed in 2.1.33. Please test and confirm.
from mdless.
This should be fixed in 2.1.33. Please test and confirm.
I'll give it a go. I think there's an intermediate dependency (maybe redcarpet) that can't be resolved, which is why a fresh gem install --user mdless
gave me 2.1.28, and I'd still like to document a workaround for that, if there is one.
For the benefit of my still-stuck-on-Ubuntu-20.04 compatriots. :)
from mdless.
Unfortunately this error seems to persist even with the latest version.
$ mdless --help
Traceback (most recent call last):
7: from /usr/local/bin/mdless:23:in `<main>'
6: from /usr/local/bin/mdless:23:in `load'
5: from /root/.local/share/gem/ruby/2.7.0/gems/mdless-2.1.33/bin/mdless:4:in `<top (required)>'
4: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
3: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
2: from /root/.local/share/gem/ruby/2.7.0/gems/mdless-2.1.33/lib/mdless.rb:21:in `<top (required)>'
1: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require': /root/.local/share/gem/ruby/2.7.0/gems/mdless-2.1.33/lib/mdless/console.rb:756: syntax error, unexpected =>, expecting '}' (SyntaxError)
...map { |k, v| "#{k.downcase}" => v }
... ^~
/root/.local/share/gem/ruby/2.7.0/gems/mdless-2.1.33/lib/mdless/console.rb:757: syntax error, unexpected =>
...escue Psych::DisallowedClass => e
... ^~
$ ruby --version
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]
$ gem list | grep mdless
mdless (2.1.33)
from mdless.
from mdless.
Related Issues (20)
- 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
- Error in convertor.rb HOT 2
- 404 error from gem file on "rake install" HOT 1
- Problem with codeblocks following lists HOT 9
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.