-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[FEATURE REQUEST]: Numbered headings #1275
Comments
The Markdown spec sadly doesn't seem to support numbered headings. A similar Markdown Editor chose to let users apply their own CSS to their Markdown documents to get numbered headings http://support.typora.io/Auto-Numbering/ |
I am aware of the Typora system: I use Typora. I discovered MT yesterday and was impressed by its features. It misses a few essentials for my use case, but it has a number of things it does better. In Typora one has to create a base.user.css file that one has to put in the themes subfolder of the .config folder. MT does not have a themes folder, so I copied Typora's base.user.css file to MT's .config folder, but that does not work. Next I copied the contents of thebase.user.css file to MT's preferences.json file, but that does not work either. So, please tell me how to use the base.user.css file. FYI, I have attached it here. Note: I added the .txt extension because .css files are not accepted here. To see the code properly, just Rename the file by deleting the .txt bit. |
Thank you for taking the time to open this issue. Numbered headings is not a markdown standard but can be easy implemented with user styles later or added as theme settings option. Depending on demand, we'll add this feature. Please 👍 this issue if you like the idea.
Custom themes or user styles (CSS) are currently not supported and tracked in #174. |
Where can I +1 this issue?
Issue #174 is quite old already; I am not interested in custom themes, what is on offer is more than adequate as far as I am concerned. Nevertheless, can you give an indication as to when user styles will be supported? |
Please click "+ 😄" button in the top-right of you first post and select 👍.
I think custom themes are planned for v0.16.0 but @Jocs know more about it and is also assigned for this topic but both of us are currently a little bit busy. |
Sorry! we didn't support custom CSS yet, I think custom theme will solve this problem, but now, we didn't support it yet. we'll already add the plan (add custom theme) in the project v0.16.0, so stay tuned. |
OK, thank you. |
the header/toc/outliner css can show number in typora. however
so I am still voting for marktext to support it since there is limitation in typora's implementation |
@retsyo : pdf and docx are not markdown formats, so you cannot add numbering to them from within Mark Text. You would have to export it to a PDF (not sure about Word) and the headings will show up and are clickable. Right now MT cannot do numbered headings. |
a temporary solution for heading:
|
@DutchPete, I mean export markdown file to PDF/DOCX |
@retsyo @DutchPete We current only support numbered heading in exported documents. You can download the latest release candidate Github. |
I found the option, but I think there is bug |
Yes, absolutely must have feature. I have used Typora and that is the first thing I modder to custom CSS and I wish Marktext has the same feature too. Either by customing or just a setting to turn on/off. |
👍 |
This is the deal breaker for me to move from typora. |
Like it. 👍 |
Describe your feature request
Each header/header type to be numbered automatically. Thus the 1st H1 header should be numbered 1.0, the 2nd H1 header should be numbered 2.0, and so on.The 1st H2 header under 1.0 should be numbered 1.1, the 1st H2 header under 2.0 should be numbered 2.1, and so on
What problem does this feature solve? [optional]
Readability of a document, esp. a long document with numerous headers and subheaders.Additional context [optional]
The text was updated successfully, but these errors were encountered: