Unlock instant, AI-driven research and patent intelligence for your innovation.

A document display method, device and machine-readable medium

A document and document conversion technology, applied in the computer field, can solve problems such as unfavorable users to quickly understand ReactNative components, unable to preview code running effects, etc.

Active Publication Date: 2022-05-24
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the current documentation for React Native components can only display the source code of React Native components, and cannot preview the running effect of the code, which is not conducive to users' quick understanding of React Native components.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A document display method, device and machine-readable medium
  • A document display method, device and machine-readable medium
  • A document display method, device and machine-readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] In order to make the above objects, features and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and specific embodiments.

[0084] refer to figure 1 , showing a flow chart of steps of Embodiment 1 of a document display method of the present application, which may specifically include the following steps:

[0085] Step 101, obtaining a Markdown document on the web side; the Markdown document contains React Native component code;

[0086] The web side can be a browser side or other clients that provide web page access functions.

[0087] For developers, writing documentation for components is an essential job. The writing of the document can be sampled in various forms, and in this embodiment of the present application, Markdown is used to write the document.

[0088] Markdown is a markup language that can be written using a normal text editor. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application provides a document presentation method, device, and machine-readable medium, the method comprising: obtaining a Markdown document on the Web side; the Markdown document contains React Native component code; The Markdown document is converted into an Html webpage document; the compatible code for simulating the React Native operating environment is loaded at the Web end; under the React Native operating environment simulated based on the compatible code at the Web end, the Html webpage document is displayed, And using the React Native component code to display a preview effect in the Html web page document. In the embodiment of this application, by loading the compatible code for simulating the React Native operating environment on the Web side, the preview effect of the React Native component code can be displayed while displaying the React Native component code and corresponding document data.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a document display method and a document display device. Background technique [0002] As the application develops, more and more UI components are used in the application. Among them, the React Native component for native systems (iOS system and Android system) is a common UI component. [0003] When developers develop React Native components, in order to facilitate other users to use the components, they can write documentation for React Native components to explain how to use React Native components. [0004] However, the current documentation for React Native components can only display the source code of React Native components, and cannot preview the running effect of the code, which is not conducive to users' quick understanding of React Native components. SUMMARY OF THE INVENTION [0005] In view of the above problems, the embodiments of the present a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/106G06F8/38
CPCG06F8/38G06F40/10
Inventor 谢焕榆陈智浩
Owner ALIBABA GRP HLDG LTD