Copy link to clipboard
Copied
I cannot find a forum post with this topic.
This is the PDF output of markdown from Obsidian note-taking software showing the default styling for hashtags that link search terms or notes together accross notes.
Is there anyway to make a style for this in indesign? Character style underline/strikethrough does not have a rounded corner option, and paragraph rules go accross the whole paragraph.
-------------------------------
<Title renamed by MOD>
I have sort of answered my own question, hopefully helpful for someone else:
1) Make a new stroke style with rounded corners
- Go to Stroke menu then Stroke Styles from the drop down menu
- Press New.. and choose the type "dash"
- Adjust the stroke so there is essentially no gap in the dash (fake solid line)
- Apply rounded corners and give style a memorable name. Press Add then ok.
2) Add the stroke to the character style
-Go to Character Styles, Underline Options, and choose the type to be the styl
...Hi @Louise00 ,
you say:
3) Fudge for horizontal padding
Add a space either side of your desired word and apply character style (can't find any programmatic way to add horizontal space before/after words at this point.
That's the crucial point for making it fully automatic with a GREP Style.
Well, I have no solution for this…
By @Laubender
In this case - I think there is a solution:
Find what:
(.+)
with CharStyle selected
Change to:
[space]$0[space]
Of course [space] should be
...Copy link to clipboard
Copied
I have sort of answered my own question, hopefully helpful for someone else:
1) Make a new stroke style with rounded corners
- Go to Stroke menu then Stroke Styles from the drop down menu
- Press New.. and choose the type "dash"
- Adjust the stroke so there is essentially no gap in the dash (fake solid line)
- Apply rounded corners and give style a memorable name. Press Add then ok.
2) Add the stroke to the character style
-Go to Character Styles, Underline Options, and choose the type to be the style you just made in the stroke style preference.
-Use Weight and Offset with preview checkbox checked, in order to position and size the vertical height of the stroke.
3) Fudge for horizontal padding
Add a space either side of your desired word and apply character style (can't find any programmatic way to add horizontal space before/after words at this point.
Hope it helps someone else!
Copy link to clipboard
Copied
Hi @Louise00 ,
you say:
3) Fudge for horizontal padding
Add a space either side of your desired word and apply character style (can't find any programmatic way to add horizontal space before/after words at this point.
That's the crucial point for making it fully automatic with a GREP Style.
Well, I have no solution for this…
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Hi @Louise00 ,
you say:
3) Fudge for horizontal padding
Add a space either side of your desired word and apply character style (can't find any programmatic way to add horizontal space before/after words at this point.
That's the crucial point for making it fully automatic with a GREP Style.
Well, I have no solution for this…
By @Laubender
In this case - I think there is a solution:
Find what:
(.+)
with CharStyle selected
Change to:
[space]$0[space]
Of course [space] should be replaced with a desired kind of space.
Copy link to clipboard
Copied
Thanks Robert, that enhances the approach.