Open StevenTew opened 6 years ago
Hi,
Markdown is not outputting my embedded code correctly. This is what I see in my page:
This is what I have in my demo-figure.hbs page:
demo-figure.hbs
{{#markdown}}{{embed 'app/templates/partials/_base/figure/figure.hbs'}}{{/markdown}}
It worked in assemble 0.4.42, but doesn't work grunt-assemble 0.6.3:
assemble: { // task options: { flatten: true, assets: '<%= config.dist %>/theme/', // distribution location of css,js,images & fonts, etc layoutext: '.hbs', layoutdir: '<%= config.src %>/templates/layouts', layout: 'default-layout', data: '<%= config.src %>/**/*.{json,yml}', partials: '<%= config.src %>/templates/partials/**/*.hbs' // this is where assemble.io looks for partials }, pages: { // override task-level layout: build all hbs files found in 'templates/pages' folder files: {'<%= config.dist %>/': ['<%= config.src %>/templates/pages/**/*.hbs']} }, partials: { // override task-level layout: build .hbs files that start with 'demo-' and are found in a 'templates/partials/**/demo folder' options: {layout: 'demo-layout'}, files: {'<%= config.dist %>/partials/': '<%= config.src %>/templates/partials/**/demo/demo-*.hbs'} } },
my package.json:
"devDependencies": { "autoprefixer": "^7.1.2", "grunt": "^1.0.1", "grunt-cli": "^1.2.0", "grunt-accessibility": "^5.0.0", "grunt-assemble": "^0.6.3", "grunt-contrib-clean": "^1.1.0", "grunt-contrib-connect": "^1.0.2", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-htmlmin": "^2.4.0", "grunt-contrib-imagemin": "^2.0.1", "grunt-contrib-jshint": "^1.1.0", "grunt-contrib-watch": "^1.0.0", "grunt-htmlhint": "^0.9.13", "grunt-postcss": "^0.8.0", "grunt-sass": "^2.0.0", "grunt-sass-lint": "^0.2.2", "jshint-stylish": "^2.2.1", "time-grunt": "^1.4.0" },
Any help would be really appreciated.
@StevenTew Thanks for the issue! If you're reporting a bug, please be sure to include:
assemble
Hi,
Markdown is not outputting my embedded code correctly. This is what I see in my page:
This is what I have in my
demo-figure.hbs
page:It worked in assemble 0.4.42, but doesn't work grunt-assemble 0.6.3:
my package.json:
Any help would be really appreciated.