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

Fix: Style for wiki syntax #18079

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

Dedelweiss
Copy link
Contributor

@Dedelweiss Dedelweiss commented Jun 27, 2023

The purpose of this PR is to correct the style of wiki syntax when the -comment-syntax:wiki option is enabled. There are 2 possibilities:

  • First, change the tag (done in this PR): So when the correct syntax is called up, I change the tag to strong, em, etc... instead of using a span with a class.
  • Second, change the CSS: We keep the span with a class and add the correct CSS associated with the class.

Code:

Screenshot 2023-06-27 at 16 01 31

Before:

Screenshot 2023-06-27 at 16 03 30

After:

Screenshot 2023-06-27 at 16 01 34

Fix: #18051

The goal of this PR is to correct the style for wiki syntax when the -comment-syntax:wiki is activate.
I have 2 possibilities:
First-Change the tag(Done on this PR): So when the correct syntax is called I change the tag to strong,em,etc.. instead of using a span with a class.
Second-Change the CSS: We keep the span with a class and we add the correct CSS associated to the class.
@bishabosha bishabosha merged commit afe463f into scala:main Jun 28, 2023
@bishabosha
Copy link
Member

awesome, thanks!

@Kordyjan Kordyjan added this to the 3.4.0 milestone Aug 2, 2023
Kordyjan added a commit that referenced this pull request Dec 8, 2023
Backports #18079 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
@Kordyjan Kordyjan modified the milestones: 3.4.0, 3.3.2 Dec 14, 2023
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.

Scaladoc3 does not render wiki syntax italics
3 participants