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

A suggestion for export file #2731

Closed
Gaays opened this issue Dec 4, 2021 · 2 comments · Fixed by #2902
Closed

A suggestion for export file #2731

Gaays opened this issue Dec 4, 2021 · 2 comments · Fixed by #2902
Labels
🐮 good first issue Good for new comers 🕊️ export/pdf Issue about exporting to PDF or printing 🦄 feature request New feature or request

Comments

@Gaays
Copy link

Gaays commented Dec 4, 2021

Describe your feature request

export file name is the markdown file name

for example:

a md file name is study.md

the first line of the file is: 1. project:xxx

when export file the file name default is: 1. project:xxx.pdf

expect export file default name is: study.pdf

What problem does this feature solve? [optional]

when export file the file name is the first line of the file

@Jocs Jocs added 🕊️ export/pdf Issue about exporting to PDF or printing 🦄 feature request New feature or request labels Dec 28, 2021
@Jocs
Copy link
Member

Jocs commented Dec 28, 2021

@fxha If there is a file name, should we use the file name first? Only use the first header without a file name?

@Jocs Jocs added the 🦁 need discuss the issue or PR need to discuss label Dec 28, 2021
@fxha
Copy link
Contributor

fxha commented Dec 28, 2021

Seems to be a good idea.

@Jocs Jocs added 🐮 good first issue Good for new comers and removed 🦁 need discuss the issue or PR need to discuss labels Dec 29, 2021
Svanazar added a commit to Svanazar/marktext that referenced this issue Jan 18, 2022
This changes the default name set when saving an exported file,
defaulting to the name of .md file, and then to the first header.
Previously, it defaulted to the first header.

Issues: marktext#2731
Jocs pushed a commit that referenced this issue Jan 21, 2022
This changes the default name set when saving an exported file,
defaulting to the name of .md file, and then to the first header.
Previously, it defaulted to the first header.

Issues: #2731
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐮 good first issue Good for new comers 🕊️ export/pdf Issue about exporting to PDF or printing 🦄 feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants