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

Add some possibility to create DITA superscript (sup) and subscript (sub) elements #7

Closed
raducoravu opened this issue Jan 29, 2018 · 4 comments

Comments

@raducoravu
Copy link
Collaborator

Maybe using "^" and "~" to surround those pieces of text.
Something like:

      32^nd^ H~2~O
@raducoravu
Copy link
Collaborator Author

Right now for this markdown content:

        # Header 1
        
        1. ^p^p

I get in the DITA content:

  No renderer configured for com.vladsch.flexmark.superscript.Superscript

@jgranduel
Copy link

Same issue today.
(The markdown was created by a transformation from a .docx document with pandoc which supports this notation.)

@raducoravu
Copy link
Collaborator Author

As a workaround you can use HTML style tags for sup and sub, they seemed to work from what I tested. Entity references seem to work also: https://www.oxygenxml.com/forum/post57825.html#p57825

@raducoravu
Copy link
Collaborator Author

+1 another one of our end users asked for this.

DunaMariusCosmin added a commit to DunaMariusCosmin/org.lwdita that referenced this issue Oct 1, 2021
@jelovirt jelovirt added this to the 2.5.0 milestone Apr 1, 2022
@jelovirt jelovirt closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants