Skip to content
#

template-engine

Here are 1,024 public repositories matching this topic...

winternet-studio
winternet-studio commented Mar 16, 2020

When you throw an exception (throw new \Exception('Some error...');) in CLI mode the script silently dies without no output to the console. It is only logged in PHP's error log.

That should not be default behaviour I would say.

Btw, this is on Windows. If I run it in my Linux environment it should just fine.

sdwarwick
sdwarwick commented Nov 3, 2016

this package is such a great find. thanks so much for your work. Just a few suggestions

  1. notwithstanding the assumption that folks are experienced go developers, it might be a good idea to mention that function names in the template must be capitalized to be accessible.

  2. the use of ./template doesn't work if you are using go build .. I have a directory that I keep both the source an

mrlacey
mrlacey commented Oct 27, 2019
  • Improve documentation on how to author templates.
  • Add documentation on the packaging and distributing of WinTS compatible templates. This must also include differences from how dotnet-new works with template sources.
  • Improve tools to help with testing and validating any created templates. Existing tests and tools are a start but these may need updating and revising to make them
Ten0
Ten0 commented Jan 7, 2020

When rendering with an invalid template that refers to an Object instead of strings/integers/bools/arrays, the rendering silent fails by rendering "[object]", due to:
https://github.com/Keats/tera/blob/b91a985951fccf6896c7192ea7c78ba64608bb62/src/context.rs#L119
(by the way, this could be Cow::Borrowed)

This is does not match the rust philosophy of being explicit and quickly failing so

wendellmva
wendellmva commented Sep 19, 2018

Describe the bug
Extension method not working as expected.

To Reproduce

[Fact]
public async Task Should_Compile_Template()
{
	var engine = new RazorLightEngineBuilder()
		.UseMemoryCachingProvider()
		.Build();

	var template = "@using Humanizer@(Model.Name.Pluralize())";
	var component = new Component { Name = "Customer"};
	var result = await engine.CompileRende

Manifold plugs into Java to supplement it with powerful features, from Type-safe Metaprogramming, Extension Methods, Operator Overloading, and Unit Expressions to an integrated Template Engine and a Preprocessor. All fully supported in IntelliJ IDEA and Android Studio. Simply add Manifold to your project and begin taking advantage of it.

  • Updated Jul 15, 2020
  • Java
ricardogaspar2
ricardogaspar2 commented Mar 29, 2019

Hi, I was trying to build a simple use case and at first glance Scalate seemed to be the great engine for the job. But when I tried to understand how to use it in my scala code I found it not so easy to use essentially because of the missing documentation.
I had to rely on test use cases which help but not as much as a proper documentation should.

My simple scenario was taking an input file in

Improve this page

Add a description, image, and links to the template-engine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the template-engine topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.