Skip to content

Macro Rendering Error

TemplateSyntaxError: unexpected '.'

Traceback (most recent call last):
  File "c:\hostedtoolcache\windows\python\3.8.5\x64\lib\site-packages\macros\plugin.py", line 279, in render
    md_template = self.env.from_string(markdown)
  File "c:\hostedtoolcache\windows\python\3.8.5\x64\lib\site-packages\jinja2\environment.py", line 941, in from_string
    return cls.from_code(self, self.compile(source), globals, None)
  File "c:\hostedtoolcache\windows\python\3.8.5\x64\lib\site-packages\jinja2\environment.py", line 638, in compile
    self.handle_exception(source=source_hint)
  File "c:\hostedtoolcache\windows\python\3.8.5\x64\lib\site-packages\jinja2\environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "c:\hostedtoolcache\windows\python\3.8.5\x64\lib\site-packages\jinja2\_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "<unknown>", line 100, in template
jinja2.exceptions.TemplateSyntaxError: unexpected '.'