@@ -69,6 +69,34 @@ REMARK_OUTPUT_FLAG ?= --output
6969
7070# TARGETS #
7171
72+ # Process Markdown files containing equations.
73+ #
74+ # This target processes Markdown files containing Markdown equation elements as follows:
75+ #
76+ # 1. Files containing equation elements are transformed to include HTML equation elements.
77+ # 2. SVG files are generated for each equation.
78+ # 3. Processed files are committed to source control.
79+ # 4. Resource URLs are inserted in HTML equation elements.
80+ # 5. Processed files are committed to source control.
81+
82+ markdown-equations : $(NODE_MODULES )
83+ $(REMARK ) $(MARKDOWN_FILES ) \
84+ $(REMARK_FLAGS ) \
85+ $(REMARK_HTML_EQUATIONS_PLUGIN_FLAGS ) \
86+ $(REMARK_SVG_EQUATIONS_PLUGIN_FLAGS ) \
87+ $(REMARK_OUTPUT_FLAG ) && \
88+ $(GIT_ADD ) && \
89+ $(GIT_COMMIT_EQUATIONS ) && \
90+ $(REMARK ) $(MARKDOWN_FILES ) \
91+ $(REMARK_FLAGS ) \
92+ $(REMARK_EQUATION_SRC_URLS_PLUGIN_FLAGS ) \
93+ $(REMARK_OUTPUT_FLAG ) && \
94+ $(GIT_ADD ) && \
95+ $(GIT_COMMIT_SRC_URLS )
96+
97+ .PHONY : markdown-equations
98+
99+
72100# Generate HTML equation elements.
73101#
74102# This target transforms Markdown files containing equation comment markup to include HTML equation elements.
@@ -106,31 +134,3 @@ markdown-equation-src-urls: $(NODE_MODULES)
106134
107135.PHONY : markdown-equation-src-urls
108136
109-
110- # Process Markdown files containing equations.
111- #
112- # This target processes Markdown files containing Markdown equation elements as follows:
113- #
114- # 1. Files containing equation elements are transformed to include HTML equation elements.
115- # 2. SVG files are generated for each equation.
116- # 3. Processed files are committed to source control.
117- # 4. Resource URLs are inserted in HTML equation elements.
118- # 5. Processed files are committed to source control.
119-
120- markdown-equations : $(NODE_MODULES )
121- $(REMARK ) $(MARKDOWN_FILES ) \
122- $(REMARK_FLAGS ) \
123- $(REMARK_HTML_EQUATIONS_PLUGIN_FLAGS ) \
124- $(REMARK_SVG_EQUATIONS_PLUGIN_FLAGS ) \
125- $(REMARK_OUTPUT_FLAG ) && \
126- $(GIT_ADD ) && \
127- $(GIT_COMMIT_EQUATIONS ) && \
128- $(REMARK ) $(MARKDOWN_FILES ) \
129- $(REMARK_FLAGS ) \
130- $(REMARK_EQUATION_SRC_URLS_PLUGIN_FLAGS ) \
131- $(REMARK_OUTPUT_FLAG ) && \
132- $(GIT_ADD ) && \
133- $(GIT_COMMIT_SRC_URLS )
134-
135- .PHONY : markdown-equations
136-
0 commit comments