CN117978767A - Method for designing markdown information of different messages - Google Patents

Method for designing markdown information of different messages Download PDF

Info

Publication number
CN117978767A
CN117978767A CN202410032914.XA CN202410032914A CN117978767A CN 117978767 A CN117978767 A CN 117978767A CN 202410032914 A CN202410032914 A CN 202410032914A CN 117978767 A CN117978767 A CN 117978767A
Authority
CN
China
Prior art keywords
message
messages
text
markdown
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410032914.XA
Other languages
Chinese (zh)
Inventor
郭亮
赵永超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Fengyu Zhiheng Technology Co ltd
Original Assignee
Jiangsu Fengyu Zhiheng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Fengyu Zhiheng Technology Co ltd filed Critical Jiangsu Fengyu Zhiheng Technology Co ltd
Priority to CN202410032914.XA priority Critical patent/CN117978767A/en
Publication of CN117978767A publication Critical patent/CN117978767A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of a method for designing markdown information, and discloses a method for designing the markdown information of different messages. The method for designing the markdown information of different messages comprises the steps of creating a template in the background, placing the messages in the template, classifying the messages in the background, and dividing pushing messages into text messages, picture messages and link messages, wherein the text messages are as follows: generating a markdown text by the content of the text message, checking the generated text message and the picture message: selecting pictures in the picture message, uploading the selected pictures, generating a markdown text through picture link, and linking the message: generating a Markdown text from a link address in a link message, classifying the message types into text messages, picture messages and link messages according to different messages, selecting the messages to be checked, and generating the messages to be checked into the Markdown text for checking, so that the selective checking of the messages can be achieved.

Description

Method for designing markdown information of different messages
Technical Field
The invention relates to the technical field of a method for designing markdown information, in particular to a method for designing the markdown information of different messages.
Background
With the development of internet technology, websites are increasing, and website contents are being enriched. A notification receiving tool is needed at this time if the web site publishes relevant content or some other user's actions would affect the original user.
However, the existing message receiving tool cannot classify messages according to different messages, only pushes the messages uniformly, and is inconvenient for users to check.
When the messages are checked, one message is checked, and the other message cannot be checked directly.
Disclosure of Invention
The invention aims to provide a method for designing markdown information of different messages so as to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: a method for designing markdown information of different messages includes creating a template in background and placing the messages in the template;
s1: classifying the messages in the background, and dividing the pushing messages into text messages, picture messages and link messages;
S2: text message: generating a markdown text by the content of the text message, and checking the generated text message;
s3: picture message: selecting a picture in the picture message, uploading the selected picture, and generating a markdown text through picture link;
s4: link message: generating a markdown text from a link address in the link message;
text messages, picture messages, and link messages can all be viewed after text is generated by markdown.
Preferably, the background delivers the message to the message middleware and then sorts the message pushed in the middle into a text message, a picture message and a link message.
Preferably, before viewing the message, the message may be selected for deletion or continued viewing, and different messages may be deleted or viewed as desired.
Preferably, the text content, the picture content and the link address are connected to each other, and one message can be directly viewed after the other message is viewed.
Preferably, the main content of the article is generated by ChatGPT;
Converting the generated text into a MarkDown format;
adding a required Markdown mark for the text;
And exporting the Markdown document.
Preferably, to create different types of messages in Markdown, information can be organized using elements such as headers, lists, tables, and code blocks.
Preferably, the deletion may be selected when the remaining messages are selected not to be viewed.
Compared with the prior art, the invention has the following beneficial effects:
The method and the device can select the message to be accepted, the background transmits the message to the middle of the message, the message is divided into the types of the message, the message is divided into the text message, the picture message and the link message according to the difference of the message, then the message to be checked is selected, the message to be checked is generated into the Markdown text to be checked, and the selective checking of the message can be achieved.
And the invention can check different messages after checking one message, and can check another different message directly after checking one message, and can select to delete the message which is not wanted to check, and the text message, the picture message and the link message are mutually communicated, so as to be convenient for direct switching.
Drawings
FIG. 1 is a flow chart of the present invention;
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a method for designing markdown information of different messages includes creating a template in a background, placing the messages in the template, classifying the messages in the background, and dividing push messages into text messages, picture messages and link messages, wherein the text messages are as follows: generating a markdown text by the content of the text message, checking the generated text message and the picture message: selecting pictures in the picture message, uploading the selected pictures, generating a markdown text through picture link, and linking the message: generating a markdown text from a link address in the link message, wherein the text message, the picture message and the link message can be checked after the text is generated through the markdown.
According to the technical scheme, before the text content in the document is checked, the text message is required to be converted into the markdown text, and a user checks the content in the text message through the markdown text.
The method for generating the markdown text by picture linking comprises the following steps:
How to use it?
This is a sample:
example:this picture below is from gitee.
automatic invocation of python script
Example 2
Referring to fig. 1, a method for designing markdown information of different messages, specifically, a background transmits a message to a message middleware, then classifies the message pushed in the middle of the message into a text message, a picture message and a link message, before viewing the message, the message can be selected to be deleted or continuously viewed, different messages can be deleted or viewed as required, text content, picture content and link address are connected with each other, and after viewing one message, the other message can be directly viewed.
Through the technical scheme, after the classification of the messages is completed, each message can be deleted or continuously checked independently;
creating a template in the background:
creating a template: according to the parsed message event, a corresponding template is generated, and the specific structure of the template depends on the requirements and the format of the message event. The templates may be created using a text template engine, programming language, or custom logic.
Storing a template: the generated templates need to be stored in a suitable storage system for later use, and the templates may be optionally applied in a file system, database, cloud storage or other storage solution suitable for the environment: where a template is required to be used, the final message may be generated by reading the stored template and applying it to the corresponding message event. To replacing placeholders in templates with actual data formatting messages.
Example 3
Referring to fig. 1, a method for designing Markdown information of different messages, generating main content of an article through ChatGPT, converting the generated text into a Markdown format, adding a required Markdown mark to the text, deriving a Markdown document, creating different types of messages in the Markdown, organizing information by using elements such as a title, a list, a table, a code block and the like, and selecting to delete when selecting not to view the rest of the messages.
Through the technical scheme, before the picture file generates the Markdown text, the picture link is required to be acquired, then the Markdown text can be generated, and the text content and the link address can be used for directly generating the Markdown text.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for designing markdown information for different messages, comprising: creating a template in the background, and placing the message in the template;
s1: classifying the messages in the background, and dividing the pushing messages into text messages, picture messages and link messages;
S2: text message: generating a markdown text by the content of the text message, and checking the generated text message;
s3: picture message: selecting a picture in the picture message, uploading the selected picture, and generating a markdown text through picture link;
s4: link message: generating a markdown text from a link address in the link message;
text messages, picture messages, and link messages can all be viewed after text is generated by markdown.
2. A method of designing markdown information for different messages according to claim 1, wherein: the background delivers the message to the message middleware and then sorts the message pushed in the middle of the message into a text message, a picture message and a link message.
3. A method of designing markdown information for different messages according to claim 1, wherein: before viewing the message, the message can be selected to be deleted or viewed continuously, and different messages can be deleted or viewed as required.
4. A method of designing markdown information for different messages according to claim 1, wherein: the text content, the picture content and the link address are connected with each other, and after one message is checked, the other message can be checked directly.
5. A method of designing markdown information for different messages according to claim 1, wherein: generating main content of the article through ChatGPT;
Converting the generated text into a MarkDown format;
adding a required Markdown mark for the text;
And exporting the Markdown document.
6. A method of designing markdown information for different messages according to claim 1, wherein: to create different types of messages in Markdown, information may be organized using elements such as headers, lists, tables, and code blocks.
7. A method of designing markdown information for different messages according to claim 1, wherein: deletion may be selected when the remaining messages are selected not to be viewed.
CN202410032914.XA 2024-01-09 2024-01-09 Method for designing markdown information of different messages Pending CN117978767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410032914.XA CN117978767A (en) 2024-01-09 2024-01-09 Method for designing markdown information of different messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410032914.XA CN117978767A (en) 2024-01-09 2024-01-09 Method for designing markdown information of different messages

Publications (1)

Publication Number Publication Date
CN117978767A true CN117978767A (en) 2024-05-03

Family

ID=90854077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410032914.XA Pending CN117978767A (en) 2024-01-09 2024-01-09 Method for designing markdown information of different messages

Country Status (1)

Country Link
CN (1) CN117978767A (en)

Similar Documents

Publication Publication Date Title
US9785624B2 (en) Method and apparatus for viewing electronic commerce-related documents
US6253239B1 (en) System for indexing and display requested data having heterogeneous content and representation
US5758361A (en) Document editor for linear and space efficient representation of hierarchical documents
US8887036B2 (en) Automatic linking of documents
US8683311B2 (en) Generating structured data objects from unstructured web pages
CN106682219B (en) Associated document acquisition method and device
US8868557B2 (en) Actionable email documents
AU783751B2 (en) Electronic bulletin board system and mail server
TW442724B (en) Data processing system and method for archiving and accessing electronic messages
US9092173B1 (en) Reviewing and editing word processing documents
US20040024812A1 (en) Content publication system for supporting real-time integration and processing of multimedia content including dynamic data, and method thereof
CN103631604B (en) A kind of standardized digital education resource management method based on CELTS-41 specification
US7275066B2 (en) Link management of document structures
US20020184269A1 (en) Document management systems for and methods of sharing documents
CA2516125C (en) Systems and methods for contextual mark-up of formatted documents
CN115048905A (en) File processing method, device and equipment of rich text editor and storage medium
KR20110016881A (en) Data viewer management
US20080039071A1 (en) Method of Generating a Test Routine
CN111125081A (en) Question bank establishing method and system
CN117978767A (en) Method for designing markdown information of different messages
CN115841095A (en) Document establishing method, system, medium and equipment
CN100407204C (en) Method for labeling computer resource and system therefor
JP2006134102A (en) Program, method and apparatus for supporting directory edition
US20050086262A1 (en) Method and apparatus for WAP and XHTML site management
CN111325007A (en) Comment analyzing method and terminal for PPTX file

Legal Events

Date Code Title Description
PB01 Publication