diff --git a/Source/Expressive/Functions/Conversion/DateFunction.cs b/Source/Expressive/Functions/Conversion/DateFunction.cs index f188223..dc539c8 100644 --- a/Source/Expressive/Functions/Conversion/DateFunction.cs +++ b/Source/Expressive/Functions/Conversion/DateFunction.cs @@ -4,6 +4,16 @@ namespace Expressive.Functions.Conversion { + // begin-snippet: DateFunction + //Converts and returns the parameter as a DateTime. + + //Date(value) + + //or + + //Date(value, format) + // end-snippet + internal sealed class DateFunction : FunctionBase { #region FunctionBase Members diff --git a/Source/test.md b/Source/test.md new file mode 100644 index 0000000..188620c --- /dev/null +++ b/Source/test.md @@ -0,0 +1,21 @@ + + +Some blurb about the below snippet + + +```cs +//Converts and returns the parameter as a DateTime. + +//Date(value) + +//or + +//Date(value, format) +``` +snippet source | anchor + diff --git a/Source/test.source.md b/Source/test.source.md new file mode 100644 index 0000000..fc11da9 --- /dev/null +++ b/Source/test.source.md @@ -0,0 +1,2 @@ +Some blurb about the below snippet +snippet: DateFunction \ No newline at end of file