Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in 1.0 #4

Open
sizhky opened this issue Oct 25, 2022 · 10 comments · Fixed by kmaasrud/awesome-obsidian#63
Open

Not working in 1.0 #4

sizhky opened this issue Oct 25, 2022 · 10 comments · Fixed by kmaasrud/awesome-obsidian#63

Comments

@sizhky
Copy link

sizhky commented Oct 25, 2022

I justs discovered and installed the css file as per instructions, but nothing is happening either in live editor or reader mode. Can anyone confirm that this works in 1.0 ?

@timmb
Copy link

timmb commented Oct 30, 2022

Also not working for me

@berot3
Copy link

berot3 commented Nov 9, 2022

me too v1.0.3

@andremeireles
Copy link

Did you guys installed the contextual typography plugin?
It is a requirement for the snippet to work.

@timmb
Copy link

timmb commented Nov 17, 2022

Yes, contextual typography is installed. I've tested on both MacOS and Windows and no luck. Is it working for you in the latest Obsidian?

@andremeireles
Copy link

andremeireles commented Nov 17, 2022

Yes, contextual typography is installed. I've tested on both MacOS and Windows and no luck. Is it working for you in the latest Obsidian?

It's working for me.
Obsidian 1.0.3. Windows 10.
I tested it on my own vault and on the sandbox vault.
Maybe you forgot to enable the toggle button.

image

@timmb
Copy link

timmb commented Nov 17, 2022

Hmm ok on further testing it is working in Reader view, which I thought I'd tested but apparently not.

I guess my issue is now more about Live Preview mode: #1

@ck7300373
Copy link

@sizhky @timmb @berot3
Hey guys, there is a workround for OBS 1.0~ :

  1. Open the css file with VSCode

  2. Replace ".is-readable-line-width" to ""
    ( or you can just delete the words ".is-readable-line-width" & all its occurrences. )

  3. snippet is working again ~~ !!

@issam-seghir
Copy link

issam-seghir commented Jan 9, 2023

for me it works in one vault and doesn't work in other vaults, that's strange!!

Update:
I try everything to make this css snippet work in my new vault Until I found this solution

  • Make sure you use the pure snippets from this repo without any edits (like replacing ".is-readable-line-width" to "" in the previous comment)
  • Copy this setting to app.josn in the .obsidian folder (make sure you copy all of them even if you activate this setting in the GUI in the obsidian setting)
  "smartIndentList": true,
  "autoPairMarkdown": true,
  "autoPairBrackets": true,
  "foldIndent": true,
  "foldHeading": true,
  "livePreview": true,
  "showIndentGuide": true,
  "lineWrap": true

image

This setting i copy from my old vault to my new vault makes the snippet work for me in all themes I have tried

From AnupPuccin theme
image

My obsidian version: 1.1.8

Update 2:
After a short time, the snippet became not working, so I don't know if the solution I suggested earlier will work
But after several failed attempts, I finally found the Solution, I don't know if you are facing the same problem but solving this problem made it work for me, and I did not find any problem with the img-gird snippet after that, give it a try

PKM-er/Blue-Topaz_Obsidian-css#505 (comment)

@HernandoR
Copy link

On 1.1.9 works fine with reading mode, wish for live mode

@jerviscui
Copy link

@sizhky @timmb @berot3 Hey guys, there is a workround for OBS 1.0~ :

  1. Open the css file with VSCode
  2. Replace ".is-readable-line-width" to ""
    ( or you can just delete the words ".is-readable-line-width" & all its occurrences. )
  3. snippet is working again ~~ !!

Great. It's working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants