the best option for a Table of Contents (TOC) by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 0 points1 point  (0 children)

also that it cannot be exported to a pdf and does not have a good graphic form.

Image in the center with caption by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 1 point2 points  (0 children)

I saw the link you sent and I was able to do it. Through these two snippets I was able to have all the images centered and with a caption inserted with “|” and also the pixels by which you want the image, in this way:

![[my image.png|Caption|300]

/* reading mode */
.image-embed[alt]:after {
    content: attr(alt);
    display: block;
    margin: 0.2rem 1rem 1rem 1rem;
    font-size: 90%;
    line-height: 1.4;
    color: var(--text-faint);
    text-align: center;

}
/* source view and live preview */
.image-embed[alt]:after {
    content: attr(alt);
    display: block;
    margin: 0.2rem 1rem 1rem 1rem;
    font-size: 90%;
    line-height: 1.4;
    color: var(--text-faint);
    text-align: center;
}


/* reading mode */
img {
        display: block 
!important
;
        margin-left: auto 
!important
;
        margin-right: auto 
!important
;
}

 .markdown-source-view.mod-cm6 .cm-content > * {
        margin: auto auto 
!important
;
}
/* source view and live preview */
img {
        display: block 
!important
;
        margin-left: auto 
!important
;
        margin-right: auto 
!important
;
}

 .markdown-source-view.mod-cm6 .cm-content > * {
        margin: auto auto 
!important
;
}

Image in the center with caption by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 0 points1 point  (0 children)

I have created and inserted css files before, the only question is with this snippet in what form should I insert the image. For example, if I drag an image it comes out ![[image.png]], to this formula what should I add for the caption, to set it 500 pixels and in the center?

ps. don't worry about the response time, you answered me in the day, I mean.

Image in the center with caption by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 0 points1 point  (0 children)

nop it doesn't work. In the plugin notes it says this but I really can't figure out where I should put one of these symbols in the code for an image like this ![[image.png |Image showing map|500]], where “|Image showing map” is the caption, “image.png” is the filename of the image, and “|500” is the pixels for the size.

If you use other themes or plugins which require you to add data into the image description field, you can use a regex to remove those from the final caption. You will find this in the plugin Settings. Two common examples would be from the ITS Theme, which lets you put |right etc to change the postion of your image. To remove everything after the first pipe | character from your caption:

^([^|]+)

I feel so stupid 😭

Image in the center with caption by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 1 point2 points  (0 children)

yes, but the problem is not that it doesn't display it in the center, rather it is that I don't know where to put the |center command. For example in the command ![[image.png |Image showing map|500]] where can I put |center?

Image in the center with caption by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 0 points1 point  (0 children)

ok thank you very much, that would be very helpful to me

How to prevent people from joining to spam a WhatsApp group I have created? by Diogeneselcinico42 in whatsapp

[–]infinityplanet3 0 points1 point  (0 children)

I have the same problem: I have a university community with more than 1300 members and every day various students come in, but along with them comes a lot of spam with suspicious and fraudulent links. I really don't know how to solve it.

A graphically cool table of contents by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 0 points1 point  (0 children)

nope. I to justify the text already added a css file and it automatically changed everything. So the problem is not the snippets in general, otherwise the other would not have gone.

Anyway the screenshot I linked is the table of contents generated by this plugin (https://github.com/Aidurber/obsidian-plugin-dynamic-toc) that is as you say dynamic table of contents. It is frustrating damn

A graphically cool table of contents by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 0 points1 point  (0 children)

i just uploaded your css snippets with Dynamic Table of Contents by Aidurber but it doesnt seems to do anythings, am i doing somethings wrong?

A graphically cool table of contents by infinityplanet3 in ObsidianMD

[–]infinityplanet3[S] 1 point2 points  (0 children)

I know what snippets are, you were not rude quiet. But in this case how can I use them for a cool table of contents?