-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feature Request] Efficient Template: Instead of Individual files for each Ayah, Put the Ayat Surah wise ... (and other stuff in description) #7
Comments
Waalaykom assalam 👋 Great suggestion! With that implemented one could even put the whole folder inside their vault instead of having a separate vault (with the current implementation separate vault makes sense given the amount of files). I'll work on that soon inshaAlla. JazakaAllah khaira 👍 |
InshaAllah. Ameen wa iyyak. May Allah make it easy and accept it from you. |
@AfzGit I'm testing this out with footnotes instead of heading, it seems cleaner when embedded. Also the auto complete will work as expected when starting to type Here's a comparision:
Which one you think is better? |
Using headers would be better:
Clean EmbedsYou can get embed without the heading using this snippet: no-embed-header.css .no-head .markdown-embed h1,
.no-head .markdown-embed h2,
.no-head .markdown-embed h3,
.no-head .markdown-embed h4,
.no-head .markdown-embed h5,
.no-head .markdown-embed h6 {
display: none;
} Place the above in your obsidian ---
cssclasses:
- no-head
--- A big pro to this approach would be that the one who wants header can have them by not including the no-head in cssclasses of their surah's if you want to apply it on the whole vault without using the cssclasses yaml header you could also instead use this snippet: no-embed-header-all.css .markdown-embed h1,
.markdown-embed h2,
.markdown-embed h3,
.markdown-embed h4,
.markdown-embed h5,
.markdown-embed h6 {
display: none;
} |
Would you be able to test this vault and give me your feedback? We need to add extra instruction how to properly embed an Ayah once we're done, but for now you know how it do it 😄 |
Looks good! Although not numbering the Surah makes file navigation confusing. I would suggest numbering the Surah filenames which has the added benefit of searching via surah number. Pros:
|
@AmmarCodes Looks almost perfect. Aliases still serve no purpose. Here are aliases that have some purpose This is an example where i:
this is just an example. It does not have to exactly be like this. Maybe you can fetch aliases from Here: using the above data you can also add ayah YAML header |
As-Salam Walaikum. Instead of having each Ayah in a seperate file, it will be better if it is grouped Surah wise.
These are some cons to the current approach:
"1.md" * 114
)i would like to present the following solution to this problem:
Let me know what you think about it. BarakAllahu Feek.
The text was updated successfully, but these errors were encountered: