nhannht / obsidian-historica

https://historica.pages.dev
MIT License
26 stars 0 forks source link

Doesn't work at all for me #4

Open Zash1 opened 3 months ago

Zash1 commented 3 months ago

Hey! I didn't know where to ask, so I hope it's okay, that I reach out this way. I downloaded your plugin today to use it for my studies, but I can't get it to work. I tried all the commands in the documentation and wrote some myself with my own prompts but nothing seems to do what it's supposed to do. The Plugin is installed and enabled. Does it maybe have an issue with other languages? This is what I did:

Thank you in advance for your help.

nhannht commented 3 months ago
Azmoinal commented 3 months ago

I know that probably is out of the scope for your plugin but for other languages, do you consider the possibilities to use inline tags?

I’m thinking about a list of tags that your plugin could identifies reporting to the “standard” English.

I’m not a English native speaker so if you want to use your plugin (that seems very nice) I should put an English sentence in my note just to enable it.

nhannht commented 3 months ago

I know that probably is out of the scope for your plugin but for other languages, do you consider the possibilities to use inline tags?

I’m thinking about a list of tags that your plugin could identifies reporting to the “standard” English.

I’m not an English native speaker so if you want to use your plugin (that seems very nice) I should put an English sentence in my note just to enable it.

Thank @Azmoinal for giving me suggestions. Can you explain a bit clearer about what you want? Maybe give me examples. I still not understand what you mean about inline tag.

Azmoinal commented 3 months ago

I was thinking about adding a #tag into the document to add a time context putting the same info but in a different way that clarifies it is not text. For instance #now, #twohoursago or a specific date #2023-02-31.

I don't know if it could be feasible.

As an example I could write a block of text and after putting a tag to clarifies when it happened.

Martin era morto ma non era la brutta notizia. #1960-08-06_21:23

I don't know if it helps.

nhannht commented 3 months ago

@Azmoinal thank you, I will try to implement your idea.

This plugin will try to split the markdown content to sentences before doing extracting time. That is why in the example Martin era morto ma non era la brutta notizia. #1960-08-06_21:23. Which using 2 sentences, split by a dot, is not fit for the system now.

About your idea, I understand that you want to make the smallest atoms be a group of sentences (paragraphs) instead of just one sentence. And give the user a choice to explicitly choose the time to plot if there is none/multi-time in that group of sentences.

Maybe I will try to add some function that uses hidden HTML tags to define a group of sentences/ paragraphs. For example:

${Normal markdown text}

<historica-block  id=${block-id}>
${Specific markdown block text}
</historica-block>

```historica
block_id=${block-id}
time_to_render=${time_here}