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

[NEW] Creation of a post #9

Closed
8 tasks done
3jins opened this issue Sep 27, 2020 · 1 comment
Closed
8 tasks done

[NEW] Creation of a post #9

3jins opened this issue Sep 27, 2020 · 1 comment

Comments

@3jins
Copy link
Owner

3jins commented Sep 27, 2020

feature scenario

  • A raw markdown file will be sent from the frontend.
    • Make a simple test for markdown file upload and figure out in which format the data is sent.
  • Read markdown text and render it into HTML.
    • markdown rendering
    • code highlighting
    • LaTeX rendering
    • TOC
  • If there is no thumbnailContent given, crop the first n letters for thumbnailContent.
    • Only paragraph body should be included. Title, image, table, etc should be excluded.
  • If given, category, tag list, series, image should be found.
  • creationDate should be filled with current datetime.

request parameters

  • categoryNo
  • tagNameList
  • seriesName
  • title
  • fileContent? or... file?
  • language
  • thumbnailContent
  • thumbnailImageTitle
  • isPrivate
  • postType (i.e. blog, notice, work, about, resume, ...)
  • isRough (Rough posts will show warning message that is notifying this content is imperfect and incorrect. This field is designed for purpose to make myself share topic that I am studying to my friends or mentors. It is highly possible to be decided to be only shown to members who has privilege to access them by level of their member info.)
@3jins 3jins self-assigned this Sep 27, 2020
3jins added a commit that referenced this issue Jan 3, 2021
3jins added a commit that referenced this issue Jan 3, 2021
3jins added a commit that referenced this issue Jan 3, 2021
3jins added a commit that referenced this issue Feb 16, 2021
3jins added a commit that referenced this issue Feb 16, 2021
3jins added a commit that referenced this issue Feb 16, 2021
3jins added a commit that referenced this issue Feb 16, 2021
3jins added a commit that referenced this issue Jul 17, 2021
`FindTagByNameDto.name` -> `FindTagByNameDto.nameList`
3jins added a commit that referenced this issue Jul 23, 2021
@3jins
Copy link
Owner Author

3jins commented Jul 24, 2021

To implement TOC, refer this: markedjs/marked#1489 or this: markedjs/marked#545 (comment)

3jins added a commit that referenced this issue Jul 30, 2021
3jins added a commit that referenced this issue Jul 31, 2021
3jins added a commit that referenced this issue Jul 31, 2021
3jins added a commit that referenced this issue Jul 31, 2021
3jins added a commit that referenced this issue Jul 31, 2021
3jins added a commit that referenced this issue Jul 31, 2021
3jins added a commit that referenced this issue Jul 31, 2021
3jins added a commit that referenced this issue Aug 1, 2021
3jins added a commit that referenced this issue Aug 1, 2021
Fixed `createPost` to make a default thumbnailContent from the content when thumbnailContent is not given.
3jins added a commit that referenced this issue Aug 1, 2021
Fixed `createPost` to make a default thumbnailContent from the content when thumbnailContent is not given.
3jins added a commit that referenced this issue Aug 1, 2021
`FindTagByNameDto.name` -> `FindTagByNameDto.nameList`
3jins added a commit that referenced this issue Aug 1, 2021
3jins added a commit that referenced this issue Aug 1, 2021
3jins added a commit that referenced this issue Aug 1, 2021
3jins added a commit that referenced this issue Aug 1, 2021
3jins added a commit that referenced this issue Aug 1, 2021
Fixed `createPost` to make a default thumbnailContent from the content when thumbnailContent is not given.
@3jins 3jins closed this as completed Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant