rendercv.api.functions
¶
The rendercv.api.functions
package contains the basic functions that are used to
interact with the RenderCV.
create_contents_of_a_typst_file(input_file_as_a_dict)
¶
Validate the input file given as a dictionary, generate a Typst file and return it as a string. If there are any validation errors, return them as a list of dictionaries.
Parameters:
-
input_file_as_a_dict
(dict
) –The input file as a dictionary.
Returns:
-
str | list[dict]
–The Typst file as a string or a list of dictionaries that contain the error messages, locations, and the input values.