Closed meinharrd closed 8 years ago
Sorry for the slow response. Seems to work fine for me?
"/a.aaa" "/a.gif" "/a.png" "/a.jpeg" "/a.jpg" "/a.html"
becomes
Closing, but if you're still running into this, feel free to reopen!
i ran "bundle update" and updated my system. still happening.
i can't reopen, as in i don't see the button. ;)
however, here is my config:
Core Configuration
:automatic_directory_matcher = nil
Set to automatically convert some characters into a directory
:bind_address = nil
The bind address of the preview server
:build_dir = "build"
Where to build output files
:css_dir = "stylesheets"
Location of stylesheets within source
:data_dir = "data"
The directory data files are stored in
:encoding = "utf-8"
Default string encoding for templates and output
:environment = :development
Middleman environment. Defaults to :development
:exit_before_ready = false
If we should exit before ready event.
:fonts_dir = "fonts"
Location of fonts within source
:frontmatter_delims = {:json=>[[";;;", ";;;"]], :yaml=>[["---", "---"], ["---", "..."]]}
Allowed frontmatter delimiters
:helpers_dir = "helpers"
Directory to autoload helper modules from
:helpers_filename_glob = "**.rb"
Glob pattern for matching helper ruby files
:helpers_filename_to_module_name_proc = #<Proc:0x00000001e4f718@/var/lib/gems/2.3.0/gems/middleman-core-4.0.0/lib/middleman-core/core_extensions/external_helpers.rb:11>
Proc implementing the conversion from helper filename to module name
:http_prefix = "/"
Default prefix for building paths
:https = false
Serve the preview server over SSL/TLS
:ignored_sitemap_matchers = {:partials=>
#<Proc:0x0000000136c9b8@/var/lib/gems/2.3.0/gems/middleman-core-4.0.0/lib/middleman-core/application.rb:169>,
:layout=>
#<Proc:0x0000000136c990@/var/lib/gems/2.3.0/gems/middleman-core-4.0.0/lib/middleman-core/application.rb:182>}
Callbacks that can exclude paths from the sitemap
:images_dir = "images"
Location of images within source
:index_file = "index.html"
Which file should be used for directory indexes
:js_dir = "javascripts"
Location of javascripts within source
:layout = :_auto_layout
Default layout name
:layouts_dir = "layouts"
Location of layouts within source
:markdown = {:fenced_code_blocks=>true,
:smartypants=>true,
:disable_indented_code_blocks=>true,
:prettify=>true,
:tables=>true,
:with_toc_data=>true,
:no_intra_emphasis=>true}
:markdown_engine = :redcarpet(Default: :kramdown)
Preferred markdown engine
:markdown_engine_prefix = Tilt
The parent module for markdown template engines
:mode = :server
Middleman mode. Defaults to :server
:port = 45573(Default: 4567)
The preview server port
:protect_from_csrf = false
Should Padrino include CRSF tag
:relative_links = true
Whether to generate relative links instead of absolute ones
:sass = {:output_style=>:nested}
Sass engine options
:sass_assets_paths = []
Paths to extra SASS/SCSS files
:sass_source_maps = true
Whether to inline sourcemap into Sass
:server_name = "localhost"
The server name of preview server
:show_exceptions = true
Whether to catch and display exceptions
:source = "source"
Name of the source directory
:ssl_certificate = nil
Path to an X.509 certificate to use for the preview server
:ssl_private_key = nil
Path to an RSA private key for the preview server's certificate
:strip_index_file = true
Whether to strip the index file name off links to directory indexes
:trailing_slash = true
Whether to include a trailing slash when stripping the index file
:watcher_disable = false
If the Listen watcher should not run
:watcher_force_polling = false
If the Listen watcher should run in polling mode
:watcher_latency = 0.5
The Listen watcher latency
Extensions
:syntax
:css_class = "highlight"
Class name applied to the syntax-highlighted output.
:inline_theme = nil
A Rouge::CSSTheme that will be used to highlight the output with inline styles instead of using CSS classes.
:lexer_options = {}
Options for the Rouge lexers.
:line_numbers = false
Generate line numbers.
:start_line = 1
Start the line numbering (if enabled) at the desired integer
:wrap = true
Wrap the highlighted content in a container (<pre> or <div>, depending on whether :line_numbers is on).
:autoprefixer
:add = true
Add new vendor prefixes
:browsers = ["last 2 version", "Firefox ESR"]
Supported browsers
:cascade = false(Default: true)
Align prefixed properties
:ignore = []
File patterns to avoid processing
:inline = true
Process inline CSS within HTML files
:remove = true
Remove outdated CSS prefixes
:relative_assets
:exts = [".css",
".png",
".jpg",
".jpeg",
".webp",
".svg",
".svgz",
".js",
".gif",
".ttf",
".otf",
".woff",
".woff2",
".eot"]
List of extensions that get cache busters strings appended to them.
:ignore = []
Regexes of filenames to skip adding query strings to
:sources = [".htm", ".html", ".css"]
List of extensions that are searched for relative assets.
:file_watcher
:front_matter
:data
:sitemap_ignore
:sitemap_ondisk
:sitemap_import
:sitemap_endpoint
:sitemap_proxies
:sitemap_redirects
:sitemap_move_files
:show_exceptions
:external_helpers
:erb_renderer
:coffee_renderer
:haml_renderer
:sass_renderer
:markdown_renderer
:default_helpers
:lorem
:routing
:collections
:sprockets
:liquid_renderer
:slim_renderer
:less_renderer
:stylus_renderer
:i18n
:cache_buster
:asset_host
:minify_css
:minify_javascript
:gzip
:asset_hash
:directory_indexes
:automatic_image_sizes
:automatic_alt_tags
:external_pipeline
Ah, never run bundle update
!
Does the problem exist in a fresh clone of the Slate repo in the dev
branch, after running just bundle install
, not update
?
ah, dev
branch was the clue. i tried on master.
in Gemfile
i saw that rouge
was updated, so it was most likely this issue: https://github.com/jneen/rouge/issues/453
closing
Cool! Thanks for following up!
When adding this code block to a markdown file:
This will be rendered:
The slashes after quotes are missing for paths with image extensions only. Very odd bug.
Browser: Chromium Version 51.0.2704.79 Ubuntu 16.04 (64-bit) Ruby: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]