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

Use caption instead of title in the TOC, Sidebar All and Sidebar Recent #8051

Closed
wants to merge 1 commit into from

Conversation

linonetwo
Copy link
Contributor

Another PR to make caption field a standard field for display. So community plugins won't be diverse in the field name.

code is copy from https://talk.tiddlywiki.org/t/how-to-use-caption-instead-of-title-in-the-toc-sidebar-all-and-sidebar-recent/6072/7?u=linonetwo

Another PR to make `caption` field a standard field for display. So community plugins won't be diverse in the field name.
Copy link

vercel bot commented Mar 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tiddlywiki5 ✅ Ready (Inspect) Visit Preview Mar 10, 2024 7:02am

@linonetwo
Copy link
Contributor Author

linonetwo commented Mar 10, 2024

There can also be a procedure shared between this and #8050 , and take care of #6397 (comment) in that procedure. Use a if condition syntax with filter to check caption field https://talk.tiddlywiki.org/t/displaying-the-caption-instead-of-title-in-tw-5-2-1-using-the-new-cascade-filters/1791/2?u=linonetwo

If so I don't need to write this in my plugins.

@pmario
Copy link
Member

pmario commented Mar 10, 2024

I personally would be OK with that change.

@linonetwo
Copy link
Contributor Author

Let me add that procedure instead, and use it in the TOC, closing this.

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 this pull request may close these issues.

2 participants