mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
17 lines
299 B
C++
17 lines
299 B
C++
#ifndef PANTOR_INJA_UTILS_HPP
|
|
#define PANTOR_INJA_UTILS_HPP
|
|
|
|
#include <string>
|
|
|
|
|
|
namespace inja {
|
|
/*!
|
|
@brief render with default settings
|
|
*/
|
|
inline std::string render(const std::string& input, const json& data) {
|
|
return Environment().render(input, data);
|
|
}
|
|
}
|
|
|
|
#endif // PANTOR_INJA_UTILS_HPP
|