Skip to content

Commit

Permalink
Merge pull request #5 from suever/suever/support-file-schema
Browse files Browse the repository at this point in the history
Support the use of file schemas for stylesheets
  • Loading branch information
suever authored Jun 19, 2024
2 parents b69e520 + 89ebb46 commit e328827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MarkdownPanel.m
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function refresh(self)
if ischar(val); val = {val}; end

for k = 1:numel(val)
if startsWith(val{k}, 'http')
if startsWith(val{k}, 'http://') || startsWith(val{k}, 'https://') || startsWith(val{k}, 'file://')
if ~self.stylesheetCache.isKey(val{k})
% Download CSS files that are not cached
try
Expand Down

0 comments on commit e328827

Please sign in to comment.