def _supress_nonlocal_image_warn(self, msg, node, **kwargs):
from docutils.utils import get_source_line
if not msg.startswith('nonlocal image URI found:'):
self._warnfunc(msg, '{0!s}:{1!s}'.format(*get_source_line(node)))
评论列表
文章目录