ContentNode wrapper class #1

Open
opened 2021-04-06 15:40:31 +00:00 by garrettmills · 0 comments
Owner

This will be an abstract class that represents user content in a particular format.

An instance of ContentNode will have some number of children which are themselves content nodes of any other format.

Should define:

  • renderToHTML

    • Returns an HTML string of the content and all children.
  • renderToTEX

    • Returns a TEX string of the content and all children.
  • renderToPDF

    • Returns the structure necessary to build a PDF of the content and all children.
This will be an abstract class that represents user content in a particular format. An instance of ContentNode will have some number of children which are themselves content nodes of any other format. Should define: - `renderToHTML` - Returns an HTML string of the content and all children. - `renderToTEX` - Returns a TEX string of the content and all children. - `renderToPDF` - Returns the structure necessary to build a PDF of the content and all children.
garrettmills added this to the Generic Renderers project 2021-04-06 15:45:54 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Noded/common#1
No description provided.