psibi / tldr-hs

Haskell tldr client
BSD 3-Clause "New" or "Revised" License
92 stars 14 forks source link

broken display with asterisc in grave accent #18

Closed conao3 closed 4 years ago

conao3 commented 4 years ago

Hi! Original issue is here

I found broken display at git-branch page. It seems that the asterisk is surrounded by code blocks, but it is not well recognized and misunderstood as a chapter break. Converted to single quotes, but more fundamental changes may be required

I use tldr in Ubuntu-bionic and installed it with apt install tldr.

Additional research revealed that I am using the Haskell version of tldr in the terminal. I would like to report an issue.


P.S. I have not ever used Haskell and stack is not installed. I just installed it with sudo apt install tldr, but it seems that Haskell version of tldr was installed. Is this behavior intended?

conao-macbook:~ conao
$ which stack

conao-macbook:~ conao
$ stack

Command 'stack' not found, but can be installed with:

sudo apt install haskell-stack
psibi commented 4 years ago

@conao3 I think Ubuntu ships with an older version of tldr. I remember fixing the issue:

tldr-snap

Can you instead try installing from source ? These are the steps:

Then you might need need to adjust the $PATH to have your ~/.local/bin (or instead pass the option --local-bin-path to the above stack install command. Let me know if you need any help. Thanks!

conao3 commented 4 years ago

OK, I will. Thanks! (my tldr --version outputs 0.2.3 this is so old! :) Sorry this noise.)