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

About the code block button #6

Closed
Juddd opened this issue Aug 13, 2019 · 1 comment
Closed

About the code block button #6

Juddd opened this issue Aug 13, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@Juddd
Copy link

Juddd commented Aug 13, 2019

The current button of Insert code block will build a tag <pre> without any attribute. The old Power Format Pack can build a such tag like <pre class="myCodeClass">text</pre> This very convenient to composing...

And the current code block button just can generate a block code. Hope an inline code block to add, please... The old Power Format Pack will generate <code class="myCodeClass">text</code>.

Please help, I can pay you for these two functions

@Juddd Juddd added the enhancement New feature or request label Aug 13, 2019
@glutanimate
Copy link
Owner

Hey @Juddd,

Thanks again for the suggestions! Both of these sound perfectly reasonable. The code button is available now with the merge of #13. As for adding customizable classes to the generated HTML elements: I think that's a neat idea, but it's not something I have time to work on for now. However, I've created a separate issue to track the progress on that and marked it as help-wanted: #24

If anyone stumbles on this and thinks this would be a cool thing to work on: Please feel free to jump in!

(Closing this issue for now in favor of #24)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants