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 sub/superscript and partial word emphasis #1540

Merged
merged 14 commits into from
Nov 6, 2023
Merged

Add sub/superscript and partial word emphasis #1540

merged 14 commits into from
Nov 6, 2023

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Oct 19, 2023

Summary:

This PR:

  • Extends the [command] and [command:value] used for new page and vertical space to also be used in-line in the text.
  • Add formatting syntax for superscript and subscript using [sup][/sup] and [sub][/sub].
  • Add partial word-capable format codes for bold, italic, underline and strikethrough using [b][/b], [i][/i], [u][/u] and [s][/s].

This format can also be extended for footnotes and endnotes, which are also planned features.

Related Issue(s):

Closes #1337
Closes #1444

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo added this to the Release 2.2 Beta 1 milestone Oct 19, 2023
This was linked to issues Oct 19, 2023
@vkbo vkbo changed the title Add sub/supeerscript and partial emphasis Add sub/superscript and partial emphasis Oct 19, 2023
@vkbo vkbo changed the title Add sub/superscript and partial emphasis Add sub/superscript and partial word emphasis Oct 19, 2023
@vkbo vkbo merged commit 2a40913 into dev Nov 6, 2023
8 checks passed
@vkbo vkbo deleted the sub_super branch November 6, 2023 10:54
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.

Allow markdown within a word Superscript/Subscript markup
1 participant