Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Add support for github Superscript for Mardown <sup> and <sub> #24

Closed
Incei opened this issue Jun 26, 2019 · 13 comments
Closed

Add support for github Superscript for Mardown <sup> and <sub> #24

Incei opened this issue Jun 26, 2019 · 13 comments
Labels
pdf type: feature New feature or request
Milestone

Comments

@Incei
Copy link
Member

Incei commented Jun 26, 2019

I have used the superscript script for MD , which works for MD but after converting to PDF the text pops-up also e.g as follows:
Eq. 1: GMFE=10(Σ|log10(pred PK parameter∕obs PK parameter)|)∕n

@msevestre
Copy link
Member

I have used the superscript script for MD. which works for MD

What superscript are you talking about. If this is not standard MD it won't be supported out of the box by other tool using markdown
Is it supported by Github for example?

@Incei
Copy link
Member Author

Incei commented Jun 26, 2019

it is supported by github

@Incei
Copy link
Member Author

Incei commented Jun 26, 2019

i have applied an alternative text for now, but generally would be good to have... and looks much more professional

@msevestre
Copy link
Member

What superscript are you talking about.

How is the syntax?

GMFE=10(Σ|log10(pred PK parameter∕obs PK parameter)|)∕n does not do anything for me on github

@Incei
Copy link
Member Author

Incei commented Jun 26, 2019

GMFE=10(Σ|log10(pred PK parameter∕obs PK parameter)|)∕n

@msevestre
Copy link
Member

Asking for the 3rd time

What superscript are you talking about.

Where is this superscript specified :)

@msevestre
Copy link
Member

so it's only one command? . Interesting

@Incei
Copy link
Member Author

Incei commented Jun 26, 2019

it doesnt work becuase the script automatically converts in github .(obviously)...here is the link

getgrav/grav#1672

@Incei
Copy link
Member Author

Incei commented Jun 26, 2019

sry for the confusion..

@msevestre
Copy link
Member

Ok got it.
I think we could probably do something for it when the markdown is being parsed somehow. We create an html that is then converted to markdown so applying the right "class" would do the trick

@msevestre msevestre changed the title github Superscript for Mardown is not converted in PDF Add support for github Superscript for Mardown <sup> and <sub> Jun 26, 2019
@msevestre msevestre added the type: feature New feature or request label Jun 26, 2019
@msevestre
Copy link
Member

I have converted the title to show the feature request

@Incei
Copy link
Member Author

Incei commented Jun 26, 2019

reading back..it is actually funny.. :)

@msevestre
Copy link
Member

see #32 PDF will now be creaeted using typora. If typora supports this, it will work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pdf type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants